Procursus 2 support #17

Merged
Yaya48 merged 22 commits from procursus2-support into new 2020-10-16 23:45:21 +02:00
Showing only changes of commit ef93e1bf10 - Show all commits

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 2.0.0-1 (Stable)\e[0m" echo -e "\e[31mUncursus 2.0 Migration Part By Yaya4_4 2.0.0 (Stable)\e[0m"
checkDependencies(){ checkDependencies(){
echo "Checking Dependencies ..." echo "Checking Dependencies ..."
need2="" need2=""
@ -86,8 +86,8 @@ wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/apt_2.1.10-3_ip
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/libapt-pkg6.0_2.1.10-3_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/libapt-pkg6.0_2.1.10-3_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
dpkg -i --force-all /tmp/procursus-migration/* dpkg -i --force-all /tmp/procursus-migration/*
apt update apt update
dpkg -r libidn2 dpkg -r --force-all libidn2
apt --fix-broken install -y apt --fix-broken install -y -u -o APT::Force-LoopBreak=1
if [ ! -f "/usr/lib/libncurses.6.dylib" ]; then if [ ! -f "/usr/lib/libncurses.6.dylib" ]; then
echo "Fixing ..." echo "Fixing ..."
ln -s /usr/lib/libncursesw.6.dylib /usr/lib/libncurses.6.dylib ln -s /usr/lib/libncursesw.6.dylib /usr/lib/libncurses.6.dylib