add some dependencies check
This commit is contained in:
parent
c7c302cced
commit
0a6d9ff9e2
@ -30,7 +30,7 @@ echo "Checking Dependencies ..."
|
|||||||
need2 =""
|
need2 =""
|
||||||
command -v wget >/dev/null 2>&1 || need2+="wget "
|
command -v wget >/dev/null 2>&1 || need2+="wget "
|
||||||
command -v plutil >/dev/null 2>&1 || need2+="com.bingner.plutil "
|
command -v plutil >/dev/null 2>&1 || need2+="com.bingner.plutil "
|
||||||
if [[ $need != "" ]]; then
|
if [[ $need2 != "" ]]; then
|
||||||
echo "Installing Dependencies..."
|
echo "Installing Dependencies..."
|
||||||
apt update
|
apt update
|
||||||
apt install $need -y
|
apt install $need -y
|
||||||
|
Reference in New Issue
Block a user