Update install.sh

This commit is contained in:
vinceliuice
2024-10-19 15:46:13 +08:00
parent 85d421879e
commit 8ebb9b1fb3

View File

@@ -716,6 +716,8 @@ clean_theme() {
if [[ "$UID" != "$ROOT_UID" ]]; then if [[ "$UID" != "$ROOT_UID" ]]; then
if [[ "$DEST_DIR" == "$HOME/.themes" ]]; then if [[ "$DEST_DIR" == "$HOME/.themes" ]]; then
local dest="$HOME/.local/share/themes" local dest="$HOME/.local/share/themes"
elif [[ "$DEST_DIR" == "$XDG_DATA_HOME/themes" || "$DEST_DIR" == "$HOME/.local/share/themes" ]]; then
local dest="$HOME/.themes"
fi fi
for theme in "${themes[@]}"; do for theme in "${themes[@]}"; do