Update common/functions.sh

This commit is contained in:
Lordify 2024-12-20 10:56:17 +00:00
parent f604f2e68f
commit 14de4ad8ef

View file

@ -249,8 +249,14 @@ if [ -f $INFO ]; then
fi
### Unzip curl
unzip $MODPATH/bin/curl.zip
unzip $MODPATH/bin/curl64.zip
if [[ "$ARCH" = "arm" ]]; then
unzip $MODPATH/bin/curl.zip -d $MODPATH/bin
elif [[ "$ARCH" = "arm64" ]]; then
unzip $MODPATH/bin/curl64.zip -d $MODPATH/bin
else
echo "Unsupported CPU Architecture"
exit
fi
chmod 0755 $MODPATH/bin/$ARCH/curl
### Install