Improve stability

This commit is contained in:
Muhammad Rivan 2021-06-12 15:58:03 +07:00
parent 19f6fb2d77
commit 36b65ede51
No known key found for this signature in database
GPG key ID: C56A200FD936FAAA
2 changed files with 3 additions and 2 deletions

View file

@ -672,9 +672,9 @@ usage() {
finalize_argument_parsing() { finalize_argument_parsing() {
if [[ "${need_help}" == "true" ]]; then if [[ "${need_help}" == "true" ]]; then
echo; usage echo; usage; echo
[[ "${has_any_error}" == "true" ]] && exit 1 || exit 0 [[ "${has_any_error}" == "true" ]] && exit 1 || exit 0
elif [[ "${has_any_error}" == "true" ]]; then 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 fi
} }

View file

@ -513,6 +513,7 @@ install_gdm_theme() {
local TARGET= local TARGET=
# Let's go! # Let's go!
install_theme_deps
rm -rf "${WHITESUR_GS_DIR}"; install_beggy rm -rf "${WHITESUR_GS_DIR}"; install_beggy
gtk_base "${colors[0]}" "${opacities[0]}" "${themes[0]}" gtk_base "${colors[0]}" "${opacities[0]}" "${themes[0]}"