From 71e7926448b3899fcc615ff915f3a1a851553a29 Mon Sep 17 00:00:00 2001 From: Yaya4 <34249303+Yaya48@users.noreply.github.com> Date: Sat, 5 Sep 2020 20:32:50 +0200 Subject: [PATCH] add some dependencies check --- procursus-migration.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/procursus-migration.sh b/procursus-migration.sh index 7f7d4e0..63ce24b 100644 --- a/procursus-migration.sh +++ b/procursus-migration.sh @@ -4,7 +4,7 @@ echo You need to run this script as root. else clear echo "Copyright (c) 2020, Yaya4 All rights reserved." -echo -e "\e[31mUncursus 2.0 Migration Part By Yaya4_4 1.2.2-3 (Stable)\e[0m" +echo -e "\e[31mUncursus 2.0 Migration Part By Yaya4_4 1.2.2-4 (Stable)\e[0m" checkiOSVersion(){ echo "Checking iOS Version ..." VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist) @@ -27,13 +27,13 @@ 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 echo "Installing Dependencies..." apt update -apt install $need -y +apt install $need2 -y fi } checkSileo(){