Fix variables
This commit is contained in:
parent
eb8b135f09
commit
5b1bb22429
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
RCLONE_PATH = "./.rclone-files/"
|
||||
RCLONE_PATH="./.rclone-files/"
|
||||
|
||||
ARCH=$(uname -m)
|
||||
|
||||
@ -11,14 +11,14 @@ echo "Setting up Termux shared storage..."
|
||||
termux-setup-storage
|
||||
echo "Downloading rclone..."
|
||||
mkdir -p $RCLONE_PATH
|
||||
RCLONE_URL = ""
|
||||
FUSERMOUNT_URL = ""
|
||||
RCLONE_URL=""
|
||||
FUSERMOUNT_URL=""
|
||||
if [ "$ARCH" == "armv7l" ];then
|
||||
RCLONE_URL = "https://beta.rclone.org/test/testbuilds-latest/rclone-android-16-armv7a.gz"
|
||||
FUSERMOUNT_URL = "https://github.com/Magisk-Modules-Repo/com.piyushgarg.rclone/raw/master/binary/fusermount-arm"
|
||||
RCLONE_URL="https://beta.rclone.org/test/testbuilds-latest/rclone-android-16-armv7a.gz"
|
||||
FUSERMOUNT_URL="https://github.com/Magisk-Modules-Repo/com.piyushgarg.rclone/raw/master/binary/fusermount-arm"
|
||||
elif [ "$ARCH" == "aarch64" ];then
|
||||
RCLONE_URL = "https://beta.rclone.org/test/testbuilds-latest/rclone-android-21-armv8a.gz"
|
||||
FUSERMOUNT_URL = "https://github.com/Magisk-Modules-Repo/com.piyushgarg.rclone/raw/master/binary/fusermount-arm64"
|
||||
RCLONE_URL="https://beta.rclone.org/test/testbuilds-latest/rclone-android-21-armv8a.gz"
|
||||
FUSERMOUNT_URL="https://github.com/Magisk-Modules-Repo/com.piyushgarg.rclone/raw/master/binary/fusermount-arm64"
|
||||
else
|
||||
echo "Unsupported architecture: $ARCH"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user