Arch ifuse

This commit is contained in:
LukeeGD 2020-06-12 13:46:02 +08:00
parent 02bb2616ea
commit 861bc2e21a

View File

@ -300,8 +300,13 @@ function InstallDependencies {
if [[ $(which pacman) ]]; then if [[ $(which pacman) ]]; then
# Arch Linux # Arch Linux
Log "Installing dependencies for Arch with pacman..." Log "Installing dependencies for Arch with pacman..."
sudo pacman -Sy --noconfirm bsdiff curl ifuse libcurl-compat libpng12 libzip openssh openssl-1.0 python unzip usbutils sudo pacman -Sy --noconfirm bsdiff curl libcurl-compat libpng12 libzip openssh openssl-1.0 python unzip usbutils
sudo pacman -S --noconfirm libimobiledevice usbmuxd sudo pacman -S --noconfirm libimobiledevice usbmuxd
git clone https://aur.archlinux.org/ifuse.git
cd ifuse
makepkg -si
cd ..
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 == "16.04" ]] || [[ $VERSION_ID == "18.04" ]] || [[ $VERSION_ID == "20.04" ]]; then
# Ubuntu Xenial, Bionic, Focal # Ubuntu Xenial, Bionic, Focal