blob: 27b833684d0e4a89121fce4ca4daed0952be9699 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- /install.sh
--- /install.sh
@@ -4,23 +4,13 @@
ROOT_UID=0
# Destination directory
-if [ "$UID" -eq "$ROOT_UID" ]; then
- AURORAE_DIR="/usr/share/aurorae/themes"
- SCHEMES_DIR="/usr/share/color-schemes"
- PLASMA_DIR="/usr/share/plasma/desktoptheme"
- LAYOUT_DIR="/usr/share/plasma/layout-templates"
- LOOKFEEL_DIR="/usr/share/plasma/look-and-feel"
- KVANTUM_DIR="/usr/share/Kvantum"
- WALLPAPER_DIR="/usr/share/wallpapers"
-else
- AURORAE_DIR="$HOME/.local/share/aurorae/themes"
- SCHEMES_DIR="$HOME/.local/share/color-schemes"
- PLASMA_DIR="$HOME/.local/share/plasma/desktoptheme"
- LAYOUT_DIR="$HOME/.local/share/plasma/layout-templates"
- LOOKFEEL_DIR="$HOME/.local/share/plasma/look-and-feel"
- KVANTUM_DIR="$HOME/.config/Kvantum"
- WALLPAPER_DIR="$HOME/.local/share/wallpapers"
-fi
+AURORAE_DIR="${PKGDIR}/usr/share/aurorae/themes"
+SCHEMES_DIR="${PKGDIR}/usr/share/color-schemes"
+PLASMA_DIR="${PKGDIR}/usr/share/plasma/desktoptheme"
+LAYOUT_DIR="${PKGDIR}/usr/share/plasma/layout-templates"
+LOOKFEEL_DIR="${PKGDIR}/usr/share/plasma/look-and-feel"
+KVANTUM_DIR="${PKGDIR}/usr/share/Kvantum"
+WALLPAPER_DIR="${PKGDIR}/usr/share/wallpapers"
THEME_NAME=ChromeOS
|