termux-tools: provide wrapper for /system/bin/umount
Good addition since we already have wrapper for /system/bin/mount.
This commit is contained in:
parent
df73044b1b
commit
27856c752e
@ -1,7 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://termux.com/
|
||||
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_VERSION=0.67
|
||||
TERMUX_PKG_VERSION=0.68
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
||||
TERMUX_PKG_ESSENTIAL=yes
|
||||
TERMUX_PKG_DEPENDS="termux-am"
|
||||
@ -12,7 +12,7 @@ termux_step_make_install() {
|
||||
mkdir -p $TERMUX_PREFIX/bin/applets
|
||||
# Remove LD_LIBRARY_PATH from environment to avoid conflicting
|
||||
# with system libraries that system binaries may link against:
|
||||
for tool in df getprop logcat mount ping ping6 ip pm settings top; do
|
||||
for tool in df getprop logcat mount ping ping6 ip pm settings top umount; do
|
||||
WRAPPER_FILE=$TERMUX_PREFIX/bin/$tool
|
||||
echo '#!/bin/sh' > $WRAPPER_FILE
|
||||
echo 'unset LD_LIBRARY_PATH LD_PRELOAD' >> $WRAPPER_FILE
|
||||
|
Loading…
Reference in New Issue
Block a user