Browse Source

termux-tools: Search in /system/bin for su

Fixes #723.
android-5
Fredrik Fornwall 8 years ago
parent
commit
89956f70a1
  1. 2
      packages/termux-tools/build.sh
  2. 2
      packages/termux-tools/su

2
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 () {

2
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:

Loading…
Cancel
Save