mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-02-17 08:56:22 +01:00
Remove 16.04 (Xenial) support
This commit is contained in:
parent
4f530abaab
commit
d3d3788c0b
@ -36,7 +36,6 @@
|
|||||||
- This script can also work on virtual machines, but I won't provide support for them
|
- This script can also work on virtual machines, but I won't provide support for them
|
||||||
|
|
||||||
## OS versions/distros tested on:
|
## OS versions/distros tested on:
|
||||||
- [Lubuntu 16.04](http://cdimage.ubuntu.com/lubuntu/releases/16.04/release/) live USB
|
|
||||||
- [Lubuntu 18.04](http://cdimage.ubuntu.com/lubuntu/releases/18.04/release/) live USB
|
- [Lubuntu 18.04](http://cdimage.ubuntu.com/lubuntu/releases/18.04/release/) live USB
|
||||||
- [Xubuntu 20.04](http://cdimage.ubuntu.com/xubuntu/releases/20.04/release/) live USB
|
- [Xubuntu 20.04](http://cdimage.ubuntu.com/xubuntu/releases/20.04/release/) live USB
|
||||||
- [Arch Linux](https://www.archlinux.org/) full install
|
- [Arch Linux](https://www.archlinux.org/) full install
|
||||||
|
41
restore.sh
41
restore.sh
@ -289,35 +289,30 @@ function InstallDependencies {
|
|||||||
cd ..
|
cd ..
|
||||||
rm -rf ifuse
|
rm -rf ifuse
|
||||||
sudo ln -sf /usr/lib/libzip.so.5 /usr/lib/libzip.so.4
|
sudo ln -sf /usr/lib/libzip.so.5 /usr/lib/libzip.so.4
|
||||||
elif [[ $VERSION_ID == "16.04" ]] || [[ $VERSION_ID == "18.04" ]] || [[ $VERSION_ID == "20.04" ]]; then
|
elif [[ $VERSION_ID == "18.04" ]] || [[ $VERSION_ID == "20.04" ]]; then
|
||||||
# Ubuntu Xenial, Bionic, Focal
|
# Ubuntu Bionic, Focal
|
||||||
Log "Running APT update..."
|
Log "Running APT update..."
|
||||||
sudo apt update
|
sudo apt update
|
||||||
Log "Installing dependencies for Ubuntu $VERSION_ID with APT..."
|
Log "Installing dependencies for Ubuntu $VERSION_ID with APT..."
|
||||||
sudo apt -y install bsdiff curl ifuse libimobiledevice-utils python3 usbmuxd
|
sudo apt -y install binutils bsdiff curl ifuse libimobiledevice-utils python3 usbmuxd
|
||||||
if [[ $VERSION_ID != "16.04" ]]; then
|
mkdir tmp
|
||||||
sudo apt -y install binutils
|
cd tmp
|
||||||
mkdir tmp
|
curl -L http://archive.ubuntu.com/ubuntu/pool/universe/c/curl3/libcurl3_7.58.0-2ubuntu2_amd64.deb -o libcurl3.deb
|
||||||
cd tmp
|
ar x libcurl3.deb data.tar.xz
|
||||||
curl -L http://archive.ubuntu.com/ubuntu/pool/universe/c/curl3/libcurl3_7.58.0-2ubuntu2_amd64.deb -o libcurl3.deb
|
tar xf data.tar.xz
|
||||||
ar x libcurl3.deb data.tar.xz
|
sudo cp usr/lib/x86_64-linux-gnu/libcurl.so.4.* /usr/lib/libcurl.so.3
|
||||||
tar xf data.tar.xz
|
if [[ $VERSION_ID == "20.04" ]]; then
|
||||||
sudo cp usr/lib/x86_64-linux-gnu/libcurl.so.4.* /usr/lib/libcurl.so.3
|
URLlibpng12=http://ppa.launchpad.net/linuxuprising/libpng12/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1+1~ppa0~focal_amd64.deb
|
||||||
if [[ $VERSION_ID == "20.04" ]]; then
|
curl -L http://archive.ubuntu.com/ubuntu/pool/universe/libz/libzip/libzip4_1.1.2-1.1_amd64.deb -o libzip4.deb
|
||||||
URLlibpng12=http://ppa.launchpad.net/linuxuprising/libpng12/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1+1~ppa0~focal_amd64.deb
|
sudo dpkg -i libzip4.deb
|
||||||
curl -L http://archive.ubuntu.com/ubuntu/pool/universe/libz/libzip/libzip4_1.1.2-1.1_amd64.deb -o libzip4.deb
|
curl -L http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb -o libssl1.0.0.deb
|
||||||
sudo dpkg -i libzip4.deb
|
sudo dpkg -i libssl1.0.0.deb
|
||||||
curl -L http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb -o libssl1.0.0.deb
|
|
||||||
sudo dpkg -i libssl1.0.0.deb
|
|
||||||
else
|
|
||||||
URLlibpng12=http://mirrors.edge.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
|
|
||||||
sudo apt -y install libzip4
|
|
||||||
fi
|
|
||||||
curl -L $URLlibpng12 -o libpng12.deb
|
|
||||||
sudo dpkg -i libpng12.deb
|
|
||||||
else
|
else
|
||||||
|
URLlibpng12=http://mirrors.edge.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
|
||||||
sudo apt -y install libzip4
|
sudo apt -y install libzip4
|
||||||
fi
|
fi
|
||||||
|
curl -L $URLlibpng12 -o libpng12.deb
|
||||||
|
sudo dpkg -i libpng12.deb
|
||||||
|
|
||||||
elif [[ $OSTYPE == "darwin"* ]]; then
|
elif [[ $OSTYPE == "darwin"* ]]; then
|
||||||
# macOS
|
# macOS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user