From f1fedcb7f6039ae20aa69e9a19cbebb0477ea5a9 Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Wed, 3 May 2023 13:42:51 +0200 Subject: [PATCH] Update 'kfg' --- kfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kfg b/kfg index 90418b1..3d35b1f 100644 --- a/kfg +++ b/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)