diff options
author | francoism90 | 2020-10-17 20:12:48 +0200 |
---|---|---|
committer | francoism90 | 2020-10-17 20:12:48 +0200 |
commit | 982c6027c41c84f03c0f3f3df05d2110c765a725 (patch) | |
tree | 583650277f15b5a7ca97c0a4a252d1bfc7db1d4e /fix-theme-installer-path.patch | |
download | aur-982c6027c41c84f03c0f3f3df05d2110c765a725.tar.gz |
Initial commit
Diffstat (limited to 'fix-theme-installer-path.patch')
-rw-r--r-- | fix-theme-installer-path.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/fix-theme-installer-path.patch b/fix-theme-installer-path.patch new file mode 100644 index 000000000000..27b833684d0e --- /dev/null +++ b/fix-theme-installer-path.patch @@ -0,0 +1,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 + |