Improve stability
This commit is contained in:
parent
19f6fb2d77
commit
36b65ede51
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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]}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue