Update common/functions.sh
This commit is contained in:
parent
f604f2e68f
commit
14de4ad8ef
1 changed files with 8 additions and 2 deletions
|
@ -249,8 +249,14 @@ if [ -f $INFO ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Unzip curl
|
### Unzip curl
|
||||||
unzip $MODPATH/bin/curl.zip
|
if [[ "$ARCH" = "arm" ]]; then
|
||||||
unzip $MODPATH/bin/curl64.zip
|
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
|
chmod 0755 $MODPATH/bin/$ARCH/curl
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
|
Loading…
Reference in a new issue