From f8467a05d9cd3dbc852f5551b4259c9dd9e0cf5b Mon Sep 17 00:00:00 2001 From: Muhammad Rivan Date: Fri, 25 Jun 2021 15:16:50 +0700 Subject: [PATCH] Add Solus OS support --- install.sh | 8 +++++++- lib-install.sh | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 976f4a3..32e2621 100755 --- a/install.sh +++ b/install.sh @@ -148,9 +148,15 @@ else if (is_my_distro "arch" || is_my_distro "void") && has_command xfce4-session; then msg="XFCE: you may need to logout after changing your theme to fix your panel opacity." - notif_msg="${msg}\n\n${final_msg}" + elif (is_my_distro "solus") && has_command gnome-shell; then + msg="GNOME: you may need to disable 'User Themes' extension to fix your dock." + elif (is_my_distro "debian") && [[ "${GNOME_VERSION}" == "old" ]]; then + msg="GNOME: you may need to disable 'User Themes' extension to fix your logout and authentication dialog." + fi + if [[ "${msg}" ]]; then echo; prompt -w "${msg}" + notif_msg="${msg}\n\n${final_msg}" else notif_msg="${final_msg}" fi diff --git a/lib-install.sh b/lib-install.sh index 92f017a..a90e090 100755 --- a/lib-install.sh +++ b/lib-install.sh @@ -178,7 +178,7 @@ install_theme_deps() { prepare_xbps && sudo xbps-install -Sy sassc glib-devel elif has_command eopkg; then # Rolling release - sudo eopkg upgrade; sudo eopkg install sassc glib2 libxml2 + sudo eopkg -y upgrade; sudo eopkg -y install sassc glib2 libxml2 else installation_sorry fi @@ -209,7 +209,7 @@ install_beggy_deps() { prepare_xbps && sudo xbps-install -Sy ImageMagick elif has_command eopkg; then # Rolling release - sudo eopkg upgrade; sudo eopkg install imagemagick + sudo eopkg -y upgrade; sudo eopkg -y install imagemagick else installation_sorry fi @@ -242,7 +242,7 @@ install_dialog_deps() { prepare_xbps && sudo xbps-install -Sy dialog elif has_command eopkg; then # Rolling release - sudo eopkg upgrade; sudo eopkg install dialog + sudo eopkg -y upgrade; sudo eopkg -y install dialog else installation_sorry fi