This commit is contained in:
Sam A. 2023-01-16 15:31:25 +01:00
parent 401a958740
commit 4b46ec15ea
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -e
usage() { usage() {
printf '%s\n' "Usage:" printf '%s\n' "Usage:"
printf '$ %s\n' "$0 [-h|--help]" printf '$ %s\n' "$0 [-h|--help]"
@ -23,7 +25,7 @@ if [ -z "$1" ]; then
else else
case $1 in case $1 in
os|docker) os|docker)
install_modules && $BASE_CMD --tags "$1" ;; install_modules; $BASE_CMD --tags "$1" ;;
reboot) reboot)
install_modules install_modules
if [ "$2" = "-f" ] || [ "$2" = "--force" ]; then if [ "$2" = "-f" ] || [ "$2" = "--force" ]; then