diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-03-03 19:37:03 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-03-03 19:37:03 +0100 |
commit | c355bc348103c42b315ddd7160bc60871af55063 (patch) | |
tree | caa0a107e34436b87720450918768492e6f1888f /utils/lxc.sh | |
parent | c748fc66cf7c4a4ebfecde61dd683422dd6b3901 (diff) | |
download | searxng-c355bc348103c42b315ddd7160bc60871af55063.tar.gz searxng-c355bc348103c42b315ddd7160bc60871af55063.zip |
[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>
Diffstat (limited to 'utils/lxc.sh')
-rwxr-xr-x | utils/lxc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lxc.sh b/utils/lxc.sh index bad5c10c8..5385384a2 100755 --- a/utils/lxc.sh +++ b/utils/lxc.sh @@ -59,7 +59,7 @@ echo 'Set disable_coredump false' >> /etc/sudo.conf # shellcheck disable=SC2034 centos7_boilerplate=" yum update -y -yum install -y git curl wget hostname sudo +yum install -y git curl wget hostname sudo which echo 'Set disable_coredump false' >> /etc/sudo.conf " |