mirror of
https://gitlab.com/JKANetwork/jka-toolkit.git
synced 2026-02-16 10:01:33 +01:00
New fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user