From faa4df9f222160d7d249dd4997d688ff429fc837 Mon Sep 17 00:00:00 2001 From: kprkpr Date: Tue, 7 Jun 2016 16:25:44 +0200 Subject: [PATCH] New fix --- jka-toolkit/apw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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