This commit is contained in:
Yaya4 2020-09-04 16:37:00 +02:00 committed by GitHub
parent 2eede2743f
commit fa3238a348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ echo You need to run this script as root.
else else
clear clear
echo "Copyright (c) 2020, Yaya4 All rights reserved." echo "Copyright (c) 2020, Yaya4 All rights reserved."
echo -e "\e[31mUncursus 2.0 Migration Part By Yaya4_4 1.2.2-1 (Stable)\e[0m" echo -e "\e[31mUncursus 2.0 Migration Part By Yaya4_4 1.2.2 (Stable)\e[0m"
checkiOSVersion(){ checkiOSVersion(){
echo "Checking iOS Version ..." echo "Checking iOS Version ..."
VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist) VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist)
@ -36,14 +36,6 @@ dpkg -s org.coolstar.sileo &> /dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "Sileo for checkrain is installed." echo "Sileo for checkrain is installed."
echo "Uninstalling Sileo..." echo "Uninstalling Sileo..."
echo "Checking Dependencies..."
need=""
command -v wget >/dev/null 2>&1 || need+="wget "
command -v wget >/dev/null 2>&1 || need+="curl "
if [[ $need = "" ]]; then
echo "Please install $need with sileo and retry"
exit 0
fi
rm -rf /tmp/sileoremoveal rm -rf /tmp/sileoremoveal
mkdir /tmp/sileoremoveal mkdir /tmp/sileoremoveal
echo "Downloading necessary debs." echo "Downloading necessary debs."