Update libzip.sh

This commit is contained in:
midoks
2023-08-05 17:31:16 +08:00
parent 6a09706362
commit 550ca7681a
+7 -2
View File
@@ -28,9 +28,14 @@ if [ ! -d ${SERVER_ROOT}/libzip ];then
fi
tar -zxvf libzip-1.3.2.tar.gz
cd ${SOURCE_ROOT}libzip-1.3.2
cd ${SOURCE_ROOT}/libzip-1.3.2
./configure --prefix=${SERVER_ROOT}/libzip && make && make install
#cd $SOURCE_ROOT
rm -rf ${SOURCE_ROOT}libzip-1.3.2
if [ "$?" == "0" ];then
rm -rf ${SOURCE_ROOT}/libzip-1.3.2
rm -rf ${SOURCE_ROOT}/libzip-1.3.2.tar.gz
fi
fi