From 1dabcd92956c2e504e70195551ed902cf60394c0 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Mon, 22 Jul 2019 14:36:06 +0300 Subject: [PATCH] busybox: re-add applet 'which' --- packages/busybox/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/busybox/build.sh b/packages/busybox/build.sh index 91defbfb4..3da40cbab 100644 --- a/packages/busybox/build.sh +++ b/packages/busybox/build.sh @@ -40,13 +40,15 @@ termux_step_post_make_install() { # * runsv, runsvdir, sv - for things like in https://github.com/termux/termux-packages/pull/3460. # * tcpsvd - required for ftpd applet. # * vi - replaced by vim, but it still good to have basic text editor in bootstrap. + # * which - replaced by debianutils, but still good to have in bootstrap. # rm -Rf $TERMUX_PREFIX/bin/applets mkdir -p $TERMUX_PREFIX/bin/applets cd $TERMUX_PREFIX/bin/applets for f in crond crontab diff ftpd ftpget ftpput hostname inotifyd \ iostat lsof lsusb mpstat mv nmeter rm rmdir runsv runsvdir \ - sendmail start-stop-daemon sv svlogd tcpsvd uptime usleep vi; do + sendmail start-stop-daemon sv svlogd tcpsvd uptime usleep \ + vi which; do ln -s ../busybox $f done unset f