Code Update

This commit is contained in:
Christer Warén 2024-06-30 17:05:38 +03:00
parent 6e11dc8e8e
commit 3488bb794d
3 changed files with 4 additions and 2 deletions

View File

@ -303,6 +303,7 @@ wi-restricted(){
wi-start(){ wi-start(){
wi-header "Warén Group" h1 wi-header "Warén Group" h1
apt update &> /dev/null
apt install -y jq &> /dev/null apt install -y jq &> /dev/null
} }
@ -317,7 +318,7 @@ wi-stop (){
} }
wi-start
wi-restricted "$0 $1 $2" wi-restricted "$0 $1 $2"
wi-start
wi-init $1 $2 wi-init $1 $2
wi-stop wi-stop

View File

@ -18,7 +18,7 @@ wiNormal=$(tput sgr0)
{{ CODES }} {{ CODES }}
wi-start
wi-restricted "$0 $1 $2" wi-restricted "$0 $1 $2"
wi-start
wi-init $1 $2 wi-init $1 $2
wi-stop wi-stop

View File

@ -1,5 +1,6 @@
wi-start(){ wi-start(){
wi-header "Warén Group" h1 wi-header "Warén Group" h1
apt update &> /dev/null
apt install -y jq &> /dev/null apt install -y jq &> /dev/null
} }