Merge pull request #17 from Yaya48/procursus2-support
Procursus 2 support
This commit is contained in:
commit
d8edc66bbf
@ -8,7 +8,7 @@ command -v curl >/dev/null 2>&1 || need+="curl "
|
||||
command -v wget >/dev/null 2>&1 || need+="wget "
|
||||
clear
|
||||
echo "Copyright (c) 2020, Yaya4 All rights reserved."
|
||||
echo -e "\e[31mWelcome to Uncursus Installation Script V2.0.8-4 (Stable) By @Yaya4_4 on Twitter.\e[0m"
|
||||
echo -e "\e[31mWelcome to Uncursus Installation Script V2.0.9 (Stable) By @Yaya4_4 on Twitter.\e[0m"
|
||||
echo "Checking if this script is running on ARM Darwin"
|
||||
if [ $(uname) = "Linux" ]; then
|
||||
if [ $(uname -p) = "x86_64" ]; then
|
||||
@ -64,7 +64,7 @@ apt purge cydia -y --allow-remove-essential
|
||||
apt install cydia -y essential -y
|
||||
echo "Done. Installing necessities..."
|
||||
apt update
|
||||
apt install essential-dummy -y lzma -y ncurses -y
|
||||
apt install essential-dummy -y lzma -y ncurses -y libidn2 -y
|
||||
echo "Done. Running Firmware Configuration (./firmware.sh)"
|
||||
/usr/libexec/firmware
|
||||
echo "Bootstrap installation complete. Cleaning up..."
|
||||
|
@ -4,7 +4,7 @@ echo You need to run this script as root.
|
||||
else
|
||||
clear
|
||||
echo "Copyright (c) 2020, Yaya4 All rights reserved."
|
||||
echo -e "\e[31mUncursus 2.0 Migration Part By Yaya4_4 1.2.3 (Stable)\e[0m"
|
||||
echo -e "\e[31mUncursus 2.0 Migration Part By Yaya4_4 2.0.0 (Stable)\e[0m"
|
||||
checkDependencies(){
|
||||
echo "Checking Dependencies ..."
|
||||
need2=""
|
||||
@ -74,26 +74,36 @@ fi
|
||||
}
|
||||
ProcursusMigration(){
|
||||
echo "Migrating..."
|
||||
COREUTILSVER=8.32-4
|
||||
COREUTILSVER=8.32-6
|
||||
rm /etc/apt/sources.list.d/cydia.list
|
||||
echo "deb https://apt.procurs.us/ iphoneos-arm64/${CFVER} main" >> /etc/apt/sources.list.d/cydia.list
|
||||
rm -rf /tmp/procursus-migration
|
||||
mkdir /tmp/procursus-migration
|
||||
rm -rf /tmp/coreutils
|
||||
mkdir /tmp/coreutils/
|
||||
wget -q http://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/procursus-keyring_2020.05.09_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
|
||||
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/coreutils_${COREUTILSVER}_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
|
||||
dpkg -i /tmp/procursus-migration/procursus-keyring_2020.05.09_iphoneos-arm.deb
|
||||
apt update
|
||||
apt install libncursesw6 -y
|
||||
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/coreutils_${COREUTILSVER}_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/coreutils/
|
||||
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/libzstd1_1.4.5-2_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
|
||||
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/apt_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
|
||||
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/xz-utils_5.2.5-2_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
|
||||
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/liblzma5_5.2.5-2_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
|
||||
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/libncursesw6_6.2-1_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
|
||||
wget -q https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/ncurses-term_6.2-1_iphoneos-arm.deb --no-check-certificate --directory-prefix=/tmp/procursus-migration
|
||||
dpkg -i --force-all /tmp/procursus-migration/libncursesw6_6.2-1_iphoneos-arm.deb
|
||||
if [ ! -f "/usr/lib/libncurses.6.dylib" ]; then
|
||||
echo "Fixing ..."
|
||||
ln -s /usr/lib/libncursesw.6.dylib /usr/lib/libncurses.6.dylib
|
||||
else
|
||||
echo "Nothing To Do!"
|
||||
fi
|
||||
apt install ncurses-bin -y
|
||||
apt install xz-utils diskdev-cmds -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
|
||||
dpkg -i --force-all /tmp/procursus-migration/*
|
||||
apt update
|
||||
dpkg -r --force-all libidn2
|
||||
apt --fix-broken install -y -u -o APT::Force-LoopBreak=1
|
||||
apt install diskdev-cmds -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
|
||||
apt dist-upgrade -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
|
||||
dpkg -i --force-all /tmp/procursus-migration/coreutils_${COREUTILSVER}_iphoneos-arm.deb
|
||||
dpkg -i --force-all /tmp/coreutils/coreutils_${COREUTILSVER}_iphoneos-arm.deb
|
||||
}
|
||||
MigrationCleanUp(){
|
||||
echo "CleaningUp ..."
|
||||
|
Reference in New Issue
Block a user