Update installuncursus.sh

This commit is contained in:
Yaya4 2020-07-30 21:26:19 +02:00 committed by GitHub
parent 0ec1294021
commit f61845c456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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