Remove 16.04 (Xenial) support

This commit is contained in:
LukeeGD 2020-06-29 09:31:06 +08:00
parent 4f530abaab
commit d3d3788c0b
2 changed files with 18 additions and 24 deletions

View File

@ -36,7 +36,6 @@
- This script can also work on virtual machines, but I won't provide support for them
## 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
- [Xubuntu 20.04](http://cdimage.ubuntu.com/xubuntu/releases/20.04/release/) live USB
- [Arch Linux](https://www.archlinux.org/) full install

View File

@ -289,14 +289,12 @@ function InstallDependencies {
cd ..
rm -rf ifuse
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
# Ubuntu Xenial, Bionic, Focal
elif [[ $VERSION_ID == "18.04" ]] || [[ $VERSION_ID == "20.04" ]]; then
# Ubuntu Bionic, Focal
Log "Running APT update..."
sudo apt update
Log "Installing dependencies for Ubuntu $VERSION_ID with APT..."
sudo apt -y install bsdiff curl ifuse libimobiledevice-utils python3 usbmuxd
if [[ $VERSION_ID != "16.04" ]]; then
sudo apt -y install binutils
sudo apt -y install binutils bsdiff curl ifuse libimobiledevice-utils python3 usbmuxd
mkdir tmp
cd tmp
curl -L http://archive.ubuntu.com/ubuntu/pool/universe/c/curl3/libcurl3_7.58.0-2ubuntu2_amd64.deb -o libcurl3.deb
@ -315,9 +313,6 @@ function InstallDependencies {
fi
curl -L $URLlibpng12 -o libpng12.deb
sudo dpkg -i libpng12.deb
else
sudo apt -y install libzip4
fi
elif [[ $OSTYPE == "darwin"* ]]; then
# macOS