diff --git a/atsetup.sh b/atsetup.sh index 8412c7f..fca04a3 100644 --- a/atsetup.sh +++ b/atsetup.sh @@ -62,11 +62,6 @@ else echo "Continue with the main menu." fi -# Check for "-silent" install command-line argument -if [$1 = "-silent"]; then - install_custom_standalone ;; -fi - # Main Menu main_menu() { while true; do @@ -558,6 +553,10 @@ reapply_standalone() { echo } - -# Start the main menu -main_menu +# Check for "-silent" install command-line argument +if [[ $1 == "-silent" ]]; then + install_custom_standalone +else + # Start the main menu + main_menu +fi \ No newline at end of file