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

Fixes #168.
This commit is contained in:
Fredrik Fornwall 2016-11-25 20:12:52 -05:00
parent 7046c2815a
commit 57efacaf26
2 changed files with 2 additions and 2 deletions

View File

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

View File

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