2019-11-21 16:48:05 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
function ubuntu {
|
|
|
|
sudo apt update
|
2019-11-22 13:35:38 +01:00
|
|
|
sudo apt -y install bsdiff curl ifuse libimobiledevice-utils libzip4 usbmuxd
|
2019-11-21 16:48:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
function arch {
|
2019-11-22 15:10:52 +01:00
|
|
|
sudo pacman -Sy --noconfirm bsdiff curl libcurl-compat libpng12 libzip openssl-1.0 usbmuxd usbutils
|
2019-11-21 16:48:05 +01:00
|
|
|
sudo ln -sf /usr/lib/libzip.so.5 /usr/lib/libzip.so.4
|
|
|
|
}
|
|
|
|
|
|
|
|
clear
|
2019-11-22 11:48:41 +01:00
|
|
|
echo "******* 32bit-OTA-Downgrader *******"
|
|
|
|
echo " - by LukeZGD "
|
2019-11-21 16:48:05 +01:00
|
|
|
echo
|
|
|
|
echo "Install dependencies"
|
|
|
|
select opt in "Ubuntu 16.04" "Arch Linux"; do
|
|
|
|
case $opt in
|
|
|
|
"Ubuntu 16.04" ) ubuntu; break;;
|
|
|
|
"Arch Linux" ) arch; break;;
|
|
|
|
esac
|
|
|
|
done
|