unset LD_PRELOAD in su because magist 16.4 is 32 bit only

This commit is contained in:
Oliver Schmidhauser 2018-05-01 10:42:31 +02:00 committed by Fredrik Fornwall
parent 6d409519e7
commit 7f1e6c977a
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/ TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_VERSION=0.53 TERMUX_PKG_VERSION=0.54
TERMUX_PKG_PLATFORM_INDEPENDENT=yes TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_ESSENTIAL=yes TERMUX_PKG_ESSENTIAL=yes
TERMUX_PKG_DEPENDS="termux-am" TERMUX_PKG_DEPENDS="termux-am"

View File

@ -1,6 +1,6 @@
#!/data/data/com.termux/files/usr/bin/sh #!/data/data/com.termux/files/usr/bin/sh
unset LD_LIBRARY_PATH unset LD_LIBRARY_PATH LD_PRELOAD
for p in /system/xbin/su /system/bin/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 do