diff --git a/jka-toolkit/apw b/jka-toolkit/apw index 1af6720..f6576c9 100755 --- a/jka-toolkit/apw +++ b/jka-toolkit/apw @@ -85,7 +85,7 @@ SO=$(cat /etc/apw.conf) #Reading packages to install/remove.. (The rest of $) , it has to be done before the option echo, logically packages=$2 #Control the incompleted arguments -if [[ -z $package && ( $1 != "*u" || $1 != "*c*" ) ]];then +if [[ -z $package && ( $1 != *u* && $1 != *c* ) ]];then echo "$(gettext "No package specified, aborting")" exit fi