Skip to content

Commit 7bacf04

Browse files
disable unstable function __verify_bin_path()
1 parent 7423ed3 commit 7bacf04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/scripts/udroid/udroid.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function __verify_bin_path()
6767
BINPATH="${SHELL}"
6868

6969
if [ -n "$BINPATH" ]; then
70-
if [ "$BINPATH" != "/data/data/com.termux/files/*" ]; then
70+
if [ "$BINPATH" != "/data/data/com.termux/files/usr/bin/bash" ]; then
7171
msg "This has to be done inside termux environment"
7272
die "\$SHELL != $BINPATH"
7373
exit 1
@@ -275,7 +275,7 @@ function _lauch_or_install()
275275
proot-distro login udroid "$@" || warn "program exited unexpectedly..."
276276
fi
277277
}
278-
__verify_bin_path
278+
# __verify_bin_path
279279
if [ $# -ge 1 ]; then
280280
case "$1" in
281281
upgrade) __upgrade;;

0 commit comments

Comments
 (0)