From b0c321dfc8b5b4162781bda5b9548fbbf0a4e735 Mon Sep 17 00:00:00 2001 From: longpanda <59477474+ventoy@users.noreply.github.com> Date: Thu, 21 May 2020 12:45:39 +0800 Subject: [PATCH] Update buidlibfuse.sh --- ExFAT/buidlibfuse.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ExFAT/buidlibfuse.sh b/ExFAT/buidlibfuse.sh index 7e0ad013..54213851 100644 --- a/ExFAT/buidlibfuse.sh +++ b/ExFAT/buidlibfuse.sh @@ -5,10 +5,14 @@ CUR="$PWD" rm -rf libfuse rm -rf LIBFUSE -unzip mirrors-libfuse-fuse-2.9.9.zip +if [ -e mirrors-libfuse-fuse-2.9.9.zip ]; then + unzip mirrors-libfuse-fuse-2.9.9.zip + cd libfuse +else + unzip libfuse-fuse-2.9.9.zip + cd libfuse-fuse-2.9.9 +fi - -cd libfuse ./makeconf.sh ./configure --prefix="$CUR/LIBFUSE"