mirror of
https://github.com/searx/searx
synced 2025-09-05 08:56:05 +00:00
LXC: add virtualenv to LXC_BASE_PACKAGES
Commit 09a40625
adds virtualenv dependency. BTW remove deprecated
--no-site-packages. Not having access to global site-packages is now the
default behavior.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -952,7 +952,7 @@ pkg_install() {
|
||||
;;
|
||||
arch)
|
||||
# shellcheck disable=SC2068
|
||||
pacman -S --noconfirm $@
|
||||
pacman -Sy --noconfirm $@
|
||||
;;
|
||||
fedora)
|
||||
# shellcheck disable=SC2068
|
||||
@@ -1098,13 +1098,13 @@ EOF
|
||||
}
|
||||
|
||||
# apt packages
|
||||
LXC_BASE_PACKAGES_debian="bash git build-essential python3"
|
||||
LXC_BASE_PACKAGES_debian="bash git build-essential python3 virtualenv"
|
||||
|
||||
# pacman packages
|
||||
LXC_BASE_PACKAGES_arch="bash git base-devel python"
|
||||
LXC_BASE_PACKAGES_arch="bash git base-devel python python-virtualenv"
|
||||
|
||||
# dnf packages
|
||||
LXC_BASE_PACKAGES_fedora="bash git @development-tools python"
|
||||
LXC_BASE_PACKAGES_fedora="bash git @development-tools python virtualenv"
|
||||
|
||||
case $DIST_ID in
|
||||
ubuntu|debian) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_debian}" ;;
|
||||
|
Reference in New Issue
Block a user