From 8ebb9b1fb3827f8d78bb28217da918f10e874b30 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sat, 19 Oct 2024 15:46:13 +0800 Subject: [PATCH] Update install.sh --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index c8871e61..ce55b1f5 100755 --- a/install.sh +++ b/install.sh @@ -716,6 +716,8 @@ clean_theme() { if [[ "$UID" != "$ROOT_UID" ]]; then if [[ "$DEST_DIR" == "$HOME/.themes" ]]; then 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 for theme in "${themes[@]}"; do