Update 'kfg'
This commit is contained in:
4
kfg
4
kfg
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user