File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ D_SCRIPTS="${TERMUX}/usr/etc/proot-distro"
55D_INSTALLED_ROOTFS=" ${TERMUX} /usr/var/lib/proot-distro/installed-rootfs"
66D_CACHCE=" ${HOME} /.udroid-cache-root"
77LOGIN_CACHE_FILE=" ${D_CACHCE} /login_rec.cache"
8+ PLUGIN_REDOWNLOAD=false
89
910_c_magneta=" \e[95m"
1011_c_green=" \e[32m"
@@ -173,6 +174,11 @@ _install() {
173174 fi
174175
175176 shout " Installing $final_suite "
177+ if $PLUGIN_REDOWNLOAD ; then
178+ imsg " trying to remove plugin.."
179+ rm -rf " ${D_SCRIPTS} /${final_suite} .sh"
180+ fi
181+
176182 if [ ! -f " ${D_SCRIPTS} /${final_suite} .sh" ]; then
177183 download " ${plugin_location} /${final_suite} .sh" $local_target
178184 fi
@@ -285,6 +291,10 @@ while [ $# -gt 0 ]; do
285291 _SUITE=" $1 "
286292 shift
287293 ;;
294+ --reinstall-plugin)
295+ PLUGIN_REDOWNLOAD=true
296+ shift
297+ ;;
288298 -l)
289299 shift
290300 _login $*
You can’t perform that action at this time.
0 commit comments