termux-tools: remove check for /system/bin/killall
/system/bin/killall should be present on all devices running Android 7.0+.
This commit is contained in:
parent
cc79632785
commit
0ce19ca522
@ -2,7 +2,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.81
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||
TERMUX_PKG_ESSENTIAL=true
|
||||
|
@ -39,7 +39,7 @@ else
|
||||
/system/bin/rm -rf "@TERMUX_PREFIX@"
|
||||
echo "Done. You need to close Termux application now."
|
||||
|
||||
if ! $HAS_TERMUX_AM && [ -x "/system/bin/killall" ]; then
|
||||
if ! $HAS_TERMUX_AM; then
|
||||
echo "Terminating all sessions..."
|
||||
/system/bin/killall -9 "$SHELL"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user