From 36b65ede5104b6f560120763356445d402b0ef61 Mon Sep 17 00:00:00 2001 From: Muhammad Rivan Date: Sat, 12 Jun 2021 15:58:03 +0700 Subject: [PATCH] Improve stability --- lib-core.sh | 4 ++-- lib-install.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib-core.sh b/lib-core.sh index a0aaba8..51770e0 100755 --- a/lib-core.sh +++ b/lib-core.sh @@ -672,9 +672,9 @@ usage() { finalize_argument_parsing() { if [[ "${need_help}" == "true" ]]; then - echo; usage + echo; usage; echo [[ "${has_any_error}" == "true" ]] && exit 1 || exit 0 elif [[ "${has_any_error}" == "true" ]]; then - echo; prompt -i "Try '$0 --help' for more information."; exit 1 + echo; prompt -i "Try '$0 --help' for more information."; echo; exit 1 fi } diff --git a/lib-install.sh b/lib-install.sh index 1d9fbd3..74eecdf 100755 --- a/lib-install.sh +++ b/lib-install.sh @@ -513,6 +513,7 @@ install_gdm_theme() { local TARGET= # Let's go! + install_theme_deps rm -rf "${WHITESUR_GS_DIR}"; install_beggy gtk_base "${colors[0]}" "${opacities[0]}" "${themes[0]}"