mirror of
https://gitlab.com/JKANetwork/jka-toolkit.git
synced 2026-02-22 04:54:13 +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
|
#Reading packages to install/remove.. (The rest of $) , it has to be done before the option echo, logically
|
||||||
packages=$2
|
packages=$2
|
||||||
#Control the incompleted arguments
|
#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")"
|
echo "$(gettext "No package specified, aborting")"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user