From b6a70ba8e3c9518cecd920b0291300f97837e453 Mon Sep 17 00:00:00 2001 From: LukeeGD Date: Mon, 14 Dec 2020 19:08:35 +0800 Subject: [PATCH] Fix more errors on Tumbleweed --- restore.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index 93cc479..97a0b34 100755 --- a/restore.sh +++ b/restore.sh @@ -37,7 +37,7 @@ function Main { Echo " Downgrader script by LukeZGD " echo - if [[ $OSTYPE == "linux-gnu" ]]; then + if [[ $OSTYPE == "linux"* ]]; then . /etc/os-release 2>/dev/null platform="linux" bspatch="bspatch" @@ -591,6 +591,7 @@ function InstallDependencies { ln -sf /usr/lib64/libimobiledevice.so.6 ../resources/lib/libimobiledevice-1.0.so.6 ln -sf /usr/lib64/libplist.so.3 ../resources/lib/libplist-2.0.so.3 ln -sf /usr/lib64/libusbmuxd.so.6 ../resources/lib/libusbmuxd-2.0.so.6 + ln -sf /usr/lib64/libzip.so.5 ../resources/lib/libzip.so.4 elif [[ $UBUNTU_CODENAME == "xenial" ]] || [[ $UBUNTU_CODENAME == "bionic" ]] || [[ $UBUNTU_CODENAME == "focal" ]] || [[ $UBUNTU_CODENAME == "groovy" ]]; then