Update 'kfg'

This commit is contained in:
2023-05-03 13:42:04 +02:00
parent d1a78fdc2f
commit 4aaa5cc869

4
kfg
View File

@@ -372,6 +372,10 @@ function install {
exit 0 exit 0
} }
if [ -z $@ ] then;
show_help
fi
PARSED_ARGUMENTS=$(getopt -a -n install.sh -o hvyi:acrbm:p --long yes,help,debug,arch: -- "$@") PARSED_ARGUMENTS=$(getopt -a -n install.sh -o hvyi:acrbm:p --long yes,help,debug,arch: -- "$@")
VALID_ARGUMENTS=$? VALID_ARGUMENTS=$?
if [ "$VALID_ARGUMENTS" != "0" ]; then if [ "$VALID_ARGUMENTS" != "0" ]; then