diff --git a/lib-core.sh b/lib-core.sh index a9826fa..1596102 100755 --- a/lib-core.sh +++ b/lib-core.sh @@ -311,12 +311,8 @@ signal_error() { prompt -e "GNOME : ${GNOME_VERSION}" prompt -e "REPO : ${repo_ver}\n" - if has_command apt; then - prompt -i "HINT: Try install depends to fix this: sudo apt install sassc libglib2.0-dev-bin libxml2-utils\n" - fi - - prompt -i "HINT: You can google or report to us the info above\n" - prompt -i "https://github.com/vinceliuice/WhiteSur-gtk-theme/issues\n\n" + prompt -i "HINT: You can google or report to us the info above \n" + prompt -i "https://github.com/vinceliuice/WhiteSur-gtk-theme/issues \n" rm -rf "${WHITESUR_TMP_DIR}"; exit 1 } @@ -666,7 +662,7 @@ sudo() { prompt -w "Executing '$(echo "${@}" | cut -c -35 )...' as root" if ! ${SUDO_BIN} -n true &> /dev/null; then - echo -e "${c_magenta} Authentication is required${c_default} ${c_green}(Please input your password):${c_default}" + echo -e "\n ${c_magenta} Authentication is required${c_default} ${c_green}(Please input your password):${c_default} \n" fi if [[ -p /dev/stdin ]]; then diff --git a/lib-install.sh b/lib-install.sh index 314bca3..b47e857 100755 --- a/lib-install.sh +++ b/lib-install.sh @@ -775,15 +775,15 @@ connect_snap() { sudo snap install whitesur-gtk-theme for i in $(snap connections | grep gtk-common-themes | awk '{print $2}' | cut -f1 -d: | sort -u); do - sudo snap connect "${i}:gtk-3-themes" "whitesur-gtk-theme:gtk-3-themes" - sudo snap connect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes" + sudo snap connect "${i}:gtk-3-themes" "whitesur-gtk-theme:gtk-3-themes" + sudo snap connect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes" done } disconnect_snap() { for i in $(snap connections | grep gtk-common-themes | awk '{print $2}' | cut -f1 -d: | sort -u); do sudo snap disconnect "${i}:gtk-3-themes" "whitesur-gtk-theme:gtk-3-themes" - sudo snap disconnect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes" + sudo snap disconnect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes" done }