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"
|
wi-restricted "$0 $1 $2"
|
||||||
|
|
||||||
apt update &> /dev/null
|
if [[ ! -f /bin/jq ]]
|
||||||
apt install -y jq &> /dev/null
|
then
|
||||||
|
apt update &> /dev/null
|
||||||
|
apt install -y jq &> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
wi-init $1 $2
|
wi-init $1 $2
|
||||||
wi-stop
|
wi-stop
|
||||||
|
@ -20,8 +20,11 @@ wiNormal=$(tput sgr0)
|
|||||||
|
|
||||||
wi-restricted "$0 $1 $2"
|
wi-restricted "$0 $1 $2"
|
||||||
|
|
||||||
apt update &> /dev/null
|
if [[ ! -f /bin/jq ]]
|
||||||
apt install -y jq &> /dev/null
|
then
|
||||||
|
apt update &> /dev/null
|
||||||
|
apt install -y jq &> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
wi-init $1 $2
|
wi-init $1 $2
|
||||||
wi-stop
|
wi-stop
|
||||||
|
Loading…
Reference in New Issue
Block a user