add some dependencies check

This commit is contained in:
Yaya4 2020-09-05 20:26:57 +02:00 committed by GitHub
parent c7c302cced
commit 0a6d9ff9e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ echo "Checking Dependencies ..."
need2 =""
command -v wget >/dev/null 2>&1 || need2+="wget "
command -v plutil >/dev/null 2>&1 || need2+="com.bingner.plutil "
if [[ $need != "" ]]; then
if [[ $need2 != "" ]]; then
echo "Installing Dependencies..."
apt update
apt install $need -y