Move to correct position + fix bash syntax

This commit is contained in:
j.katzwinkel@posteo.de committed 2025-02-25 14:26:45 +01:00
1 parent 9fa61bfe18
commit b07697b466
1 file changed
+7 -8
+7 -8
View File
@@ -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