Update setup-rclone-termux.bash

This commit is contained in:
darkelaina 2021-11-07 15:24:17 +00:00
parent a675c11476
commit baddfb65b9

View File

@ -16,6 +16,13 @@ else
fi
echo "!!! YOU NEED ROOT TO RUN THIS SCRIPT !!!"
echo "This script was made before I discovered that Termux Rclone can work perfectly too if you mount to /mnt/runtime/write/emulated/0/, using this script may lead to unwanted change in your phone."
read -p "Do you want to continue (Y/n)? " -n 1 -r
echo # (optional) move to a new line
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
[[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1 # handle exits from shell or function but don't exit interactive shell
fi
echo "Installing dependencies..."
pkg install root-repo tsu wget
echo "Setting up Termux shared storage..."