1
0
mirror of https://gitlab.com/JKANetwork/jka-toolkit.git synced 2026-02-16 10:01:33 +01:00
This commit is contained in:
kprkpr
2016-06-07 16:25:44 +02:00
parent 5760eb12b4
commit faa4df9f22

View File

@@ -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