diff --git a/Apps/rclone/setup-rclone-termux.bash b/Apps/rclone/setup-rclone-termux.bash index 2cd7c86..ff00b05 100644 --- a/Apps/rclone/setup-rclone-termux.bash +++ b/Apps/rclone/setup-rclone-termux.bash @@ -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..."