From 68e421a65dc5fcdab0ccbddb12aa702611845ccd Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 6 Jun 2025 00:29:16 +0800 Subject: [PATCH] Fixed #1300 --- install.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index 059627b1..0332eb56 100755 --- a/install.sh +++ b/install.sh @@ -179,11 +179,7 @@ else prompt -w "Removing the old '${name}' themes...\n" - if [[ "${libadwaita}" != 'true' ]]; then - remove_themes - fi - - customize_theme; avoid_variant_duplicates; + remove_themes; customize_theme; avoid_variant_duplicates; prompt -w "Installing '${name}' themes in '${dest}'...\n"; @@ -196,6 +192,8 @@ else prompt -i "Start icon style : ${icon}" prompt -i "Nautilus style : ${nautilus_style}" + echo; install_themes; echo; prompt -s "Done!" + if [[ "${libadwaita}" == 'true' ]]; then if [[ "$UID" != '0' ]]; then install_libadwaita @@ -203,8 +201,6 @@ else else echo; prompt -e "Do not run '--libadwaita' option with sudo!" fi - else - echo; install_themes; echo; prompt -s "Done!" fi if (is_my_distro "solus") && (is_running "gnome-session"); then