Legacy-iOS-Kit/install.sh

24 lines
598 B
Bash
Raw Normal View History

#!/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
}
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
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 "
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