We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea7f273 commit 6fe223cCopy full SHA for 6fe223c
scripts/udroid/udroid.sh
@@ -163,6 +163,7 @@ remove() {
163
}
164
165
upgrade() {
166
+ shout "Upgrade.."
167
url_host="https://raw.githubusercontent.com"
168
url_org="/RandomCoderOrg"
169
repo="/fs-manager-udroid"
@@ -175,8 +176,13 @@ upgrade() {
175
176
177
path="/$BRANCH/scripts/udroid/udroid.sh"
178
url="$url_host$url_org$repo$path"
-
179
- download "$url" "$TERMUX/usr/bin/udroid"
+ lshout "Sync tool with GitHub..."
180
+ download "$url" "$TERMUX/usr/bin/udroid" || {
181
+ lwarn "failed to sync tool with GitHub"
182
+ exit 1
183
+ }
184
+ chmod +x "$TERMUX/usr/bin/udroid"
185
+ lshout "Sync tool with GitHub...done"
186
187
188
is_installed() {
0 commit comments