diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 6d1dd8d..2d14816 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -18,22 +18,14 @@ checkParameters() { fi case $flag in - h) - usage - exit 0 - ;; - w) - checkForDependencies "libnewt" - setDialogBox "whiptail" - ;; - d) - checkForDependencies "dialog" - setDialogBox "dialog" - ;; - ?) - printf '%s: invalid option - '\''%s'\'\\n "${0##*/}" "$OPTARG" - exit 1 - ;; + h) usage + exit 0 ;; + w) checkForDependencies "libnewt" + setDialogBox "whiptail" ;; + d) checkForDependencies "dialog" + setDialogBox "dialog" ;; + ?) printf '%s: invalid option - '\''%s'\'\\n "${0##*/}" "$OPTARG" + exit 1 ;; esac done