add some dependencies check

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

View File

@ -27,7 +27,7 @@ fi
}
checkDependencies(){
echo "Checking Dependencies ..."
need2 =""
need2 = ""
command -v wget >/dev/null 2>&1 || need2+="wget "
command -v plutil >/dev/null 2>&1 || need2+="com.bingner.plutil "
if [[ $need2 != "" ]]; then