Update 'kfg'

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

4
kfg
View File

@@ -372,14 +372,14 @@ function install {
exit 0
}
if [ -z $@ ] then;
if [ -z $@ ]; then
show_help
fi
PARSED_ARGUMENTS=$(getopt -a -n install.sh -o hvyi:acrbm:p --long yes,help,debug,arch: -- "$@")
VALID_ARGUMENTS=$?
if [ "$VALID_ARGUMENTS" != "0" ]; then
usage
show_help
fi
ARCH=$(/usr/bin/dpkg --print-architecture)