From 0a6d9ff9e214e18247bce4a3a117cb723f78e360 Mon Sep 17 00:00:00 2001 From: Yaya4 <34249303+Yaya48@users.noreply.github.com> Date: Sat, 5 Sep 2020 20:26:57 +0200 Subject: [PATCH] add some dependencies check --- procursus-migration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procursus-migration.sh b/procursus-migration.sh index 990255c..6163994 100644 --- a/procursus-migration.sh +++ b/procursus-migration.sh @@ -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