Browse Source

termux-tools: Add /magisk/.core/bin/su path to su

Fixes #168.
android-5
Fredrik Fornwall 8 years ago
parent
commit
57efacaf26
  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.29
TERMUX_PKG_VERSION=0.30
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
for p in /system/xbin/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