Browse Source
termux-tools: provide wrapper for /system/bin/umount
Good addition since we already have wrapper for /system/bin/mount.
emacs-27
Leonid Plyushch
6 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with
2 additions and
2 deletions
-
packages/termux-tools/build.sh
|
|
@ -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 |
|
|
|