V 2,0,0 #7

Merged
Yaya48 merged 42 commits from beta into new 2020-07-30 23:06:26 +02:00
Showing only changes of commit f18f1a5260 - Show all commits

View File

@ -15,11 +15,16 @@ exit 1
fi fi
echo "WARNING: I'M NOT RESPONSIBLE IF ANYTHING GOES WRONG" echo "WARNING: I'M NOT RESPONSIBLE IF ANYTHING GOES WRONG"
echo "If you've found any bugs, please create an issue in GitHub." 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 "
if [ $need != "" ]; then
echo "Installing Dependencies..." echo "Installing Dependencies..."
apt update apt update
apt install unzip -y apt install $need -y
apt install com.bingner.plutil -y fi
apt install curl -y
echo "Pulling and executing the Procursus Migration Script" echo "Pulling and executing the Procursus Migration Script"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/beta/procursus-migration.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/beta/procursus-migration.sh)"
echo "Done. Creating a custom directory for the required files. Path (/User/Documents/uncursus)." echo "Done. Creating a custom directory for the required files. Path (/User/Documents/uncursus)."