Code Update

This commit is contained in:
Christer Warén 2024-06-30 17:42:08 +03:00
parent 04699cccce
commit 0ca9ad28dc
2 changed files with 10 additions and 4 deletions

View File

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

View File

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