From 89956f70a127b8864f601bec6a5f863b564732f6 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 3 Feb 2017 00:04:26 +0100 Subject: [PATCH] termux-tools: Search in /system/bin for su Fixes #723. --- packages/termux-tools/build.sh | 2 +- packages/termux-tools/su | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index 9e482a301..9124e55b4 100644 --- a/packages/termux-tools/build.sh +++ b/packages/termux-tools/build.sh @@ -1,6 +1,6 @@ TERMUX_PKG_HOMEPAGE=https://termux.com/ TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" -TERMUX_PKG_VERSION=0.35 +TERMUX_PKG_VERSION=0.36 TERMUX_PKG_PLATFORM_INDEPENDENT=yes termux_step_make_install () { diff --git a/packages/termux-tools/su b/packages/termux-tools/su index d38b6eb74..ee253d08a 100755 --- a/packages/termux-tools/su +++ b/packages/termux-tools/su @@ -2,7 +2,7 @@ unset LD_LIBRARY_PATH -for p in /system/xbin/su /su/bin/su /sbin/su /magisk/.core/bin/su +for p in /system/xbin/su /system/bin/su /su/bin/su /sbin/su /magisk/.core/bin/su do if [ -x $p ]; then # The su tool may require programs in PATH: