Code Update
This commit is contained in:
parent
04699cccce
commit
0ca9ad28dc
7
init.sh
7
init.sh
@ -317,8 +317,11 @@ wi-stop (){
|
||||
|
||||
wi-restricted "$0 $1 $2"
|
||||
|
||||
apt update &> /dev/null
|
||||
apt install -y jq &> /dev/null
|
||||
if [[ ! -f /bin/jq ]]
|
||||
then
|
||||
apt update &> /dev/null
|
||||
apt install -y jq &> /dev/null
|
||||
fi
|
||||
|
||||
wi-init $1 $2
|
||||
wi-stop
|
||||
|
@ -20,8 +20,11 @@ wiNormal=$(tput sgr0)
|
||||
|
||||
wi-restricted "$0 $1 $2"
|
||||
|
||||
apt update &> /dev/null
|
||||
apt install -y jq &> /dev/null
|
||||
if [[ ! -f /bin/jq ]]
|
||||
then
|
||||
apt update &> /dev/null
|
||||
apt install -y jq &> /dev/null
|
||||
fi
|
||||
|
||||
wi-init $1 $2
|
||||
wi-stop
|
||||
|
Loading…
Reference in New Issue
Block a user