This commit is contained in:
vinceliuice 2018-03-28 20:02:47 +08:00
parent 29d095f9a6
commit c1828192e4
1 changed files with 1 additions and 3 deletions

View File

@ -4,9 +4,7 @@ ROOT_UID=0
DEST_DIR=
# Destination directory
if [ -n ${DESTDIR} ]; then
DEST_DIR="${DESTDIR}"
elif [ "$UID" -eq "$ROOT_UID" ]; then
if [ "$UID" -eq "$ROOT_UID" ]; then
DEST_DIR="/usr/share/themes"
else
DEST_DIR="$HOME/.themes"