summaryrefslogtreecommitdiff
path: root/utils/lib.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-12-18 22:31:13 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-12-18 22:31:13 +0100
commit1a4524e03c2091b896f7efadb0b3a646888bd2ba (patch)
treeff731d903599940cc6d6a2445b12a4f34cc096e7 /utils/lib.sh
parent14c7cc0e118f1d0873b32b34793cdec2c5c9c13e (diff)
downloadsearxng-1a4524e03c2091b896f7efadb0b3a646888bd2ba.tar.gz
searxng-1a4524e03c2091b896f7efadb0b3a646888bd2ba.zip
[mod] remove obsolete virtualenv command
Installation and use of the command 'virtualenv' was only needed in py2 and py2 is no longer suported by searx. In py3 the command is replaced by 'python -m venv'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lib.sh')
-rwxr-xr-xutils/lib.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/lib.sh b/utils/lib.sh
index aa49da5b2..7d6c2fab0 100755
--- a/utils/lib.sh
+++ b/utils/lib.sh
@@ -1399,16 +1399,16 @@ EOF
}
# apt packages
-LXC_BASE_PACKAGES_debian="bash git build-essential python3 virtualenv"
+LXC_BASE_PACKAGES_debian="bash git build-essential python3 python3-venv"
# pacman packages
-LXC_BASE_PACKAGES_arch="bash git base-devel python python-virtualenv"
+LXC_BASE_PACKAGES_arch="bash git base-devel python"
# dnf packages
-LXC_BASE_PACKAGES_fedora="bash git @development-tools python virtualenv"
+LXC_BASE_PACKAGES_fedora="bash git @development-tools python"
# yum packages
-LXC_BASE_PACKAGES_centos="bash git @development-tools python python-virtualenv"
+LXC_BASE_PACKAGES_centos="bash git @development-tools python3"
case $DIST_ID in
ubuntu|debian) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_debian}" ;;