Skip to content

Commit

Permalink
Runs termux-setup-storage in One-Time-Setup to ensure storage
Browse files Browse the repository at this point in the history
permissions are granted

Signed-off-by: Govind KP <reisub0@gmail.com>
  • Loading branch information
autolyticus committed Jan 14, 2020
1 parent 10dd108 commit b20c883
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions start-rsync-android
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ fi
EOF

if isFirstRun "$@"; then
runCommandInTermux 'termux-setup-storage'
waitForCommand
runCommandInTermux '(apt update) && (yes | apt upgrade) &&
(yes | apt install rsync)'
waitForCommand
Expand Down

0 comments on commit b20c883

Please sign in to comment.