on master help sign in
[fix] add package 'which' to CentOS-7 boilerplate

Newer CentOS-7 images from https://images.linuxcontainers.org do no longer include the which command. Issue: $ sudo -H ./utils/lxc.sh cmd searx-centos7 ./utils/filtron.sh install all INFO: [searx-centos7] ./utils/filtron.sh install all ... Install Go in user's HOME ------------------------- download and install go binary .. ... -bash: line 1: which: command not found -->|ERROR - Go Installation not found in PATH!?! -bash: line 2: which: command not found Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

commitc355bc348103c42b315ddd7160bc60871af55063 authorMarkus Heiser <markus.heiser@darmarit.de> dateWed 3 Mar 2021, 19:37 (6 years ago) parentc748fc6
1 file changed+1−1
utils/lxc.sh+1−1
utils/lxc.sh+1−1
@@ -59,7 +59,7 @@ echo 'Set disable_coredump false' >> /etc/sudo.conf
5959# shellcheck disable=SC2034
6060centos7_boilerplate="
6161yum update -y
62−yum install -y git curl wget hostname sudo
62+yum install -y git curl wget hostname sudo which
6363echo 'Set disable_coredump false' >> /etc/sudo.conf
6464"
6565