summaryrefslogtreecommitdiff
path: root/utils/lib.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-12-18 22:32:05 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-12-18 22:32:05 +0100
commitbe08e5bfab2d67f9b1b910eb25bc073d5bff8916 (patch)
tree7e55f0269306c7e344b5b2673058604e0c931ae3 /utils/lib.sh
parent1a4524e03c2091b896f7efadb0b3a646888bd2ba (diff)
downloadsearxng-be08e5bfab2d67f9b1b910eb25bc073d5bff8916.tar.gz
searxng-be08e5bfab2d67f9b1b910eb25bc073d5bff8916.zip
[fix] yum installation of 'Development Tools'
'yum install' does not support '@development-tools' notation for group installation. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lib.sh')
-rwxr-xr-xutils/lib.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/lib.sh b/utils/lib.sh
index 7d6c2fab0..0d93138cc 100755
--- a/utils/lib.sh
+++ b/utils/lib.sh
@@ -1408,7 +1408,7 @@ LXC_BASE_PACKAGES_arch="bash git base-devel python"
LXC_BASE_PACKAGES_fedora="bash git @development-tools python"
# yum packages
-LXC_BASE_PACKAGES_centos="bash git @development-tools python3"
+LXC_BASE_PACKAGES_centos="bash git python3"
case $DIST_ID in
ubuntu|debian) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_debian}" ;;
@@ -1420,6 +1420,9 @@ esac
lxc_install_base_packages() {
info_msg "install LXC_BASE_PACKAGES in container $1"
+ case $DIST_ID in
+ centos) yum groupinstall "Development Tools" -y ;;
+ esac
pkg_install "${LXC_BASE_PACKAGES}"
}