From f61845c4565ccf8b825702e785828d0f57857dbf Mon Sep 17 00:00:00 2001 From: Yaya4 <34249303+Yaya48@users.noreply.github.com> Date: Thu, 30 Jul 2020 21:26:19 +0200 Subject: [PATCH] Update installuncursus.sh --- installuncursus.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/installuncursus.sh b/installuncursus.sh index 5f183b0..7658511 100644 --- a/installuncursus.sh +++ b/installuncursus.sh @@ -2,6 +2,11 @@ if [ "$EUID" -ne 0 ]; then echo You need to run this script as root. else +need="" +command -v unzip >/dev/null 2>&1 || need+="unzip " +command -v plutil >/dev/null 2>&1 || need+="com.bingner.plutil " +command -v curl >/dev/null 2>&1 || need+="curl " +command -v curl >/dev/null 2>&1 || need+="wget " clear echo -e "\e[31mWelcome to Uncursus Installation Script V2.0.0 (Beta4) By @Yaya4_4 on Twitter.\e[0m" echo "Checking If Is A Clean Install Of Unc0ver..." @@ -16,11 +21,6 @@ fi echo "WARNING: I'M NOT RESPONSIBLE IF ANYTHING GOES WRONG" echo "If you've found any bugs, please create an issue in GitHub." echo "Checking Dependencies" -need="" -command -v unzip >/dev/null 2>&1 || need+="unzip " -command -v plutil >/dev/null 2>&1 || need+="com.bingner.plutil " -command -v curl >/dev/null 2>&1 || need+="curl " -command -v curl >/dev/null 2>&1 || need+="wget " if [ $need != "" ]; then echo "Installing Dependencies..." apt update