diff --git a/manage b/manage index 155a1f2dd..2a88a4c5c 100755 --- a/manage +++ b/manage @@ -233,7 +233,7 @@ gecko.driver() { build_msg INSTALL "geckodriver already installed" return fi - PLATFORM="$(python3 -c 'import platform; print(platform.system().lower(), platform.architecture()[0])')" + PLATFORM="$(python -c 'import platform; print(platform.system().lower(), platform.architecture()[0])')" case "$PLATFORM" in "linux 32bit" | "linux2 32bit") ARCH="linux32";; "linux 64bit" | "linux2 64bit") ARCH="linux64";; diff --git a/utils/lib.sh b/utils/lib.sh index 16bfb4398..e527fa1b6 100755 --- a/utils/lib.sh +++ b/utils/lib.sh @@ -1674,7 +1674,7 @@ EOF } # apt packages -LXC_BASE_PACKAGES_debian="bash git build-essential python3 python3-venv" +LXC_BASE_PACKAGES_debian="bash git build-essential python3 python3-venv python-is-python3" # pacman packages LXC_BASE_PACKAGES_arch="bash git base-devel python" diff --git a/utils/lib_go.sh b/utils/lib_go.sh index 462bbbba0..0b58fad61 100755 --- a/utils/lib_go.sh +++ b/utils/lib_go.sh @@ -41,7 +41,7 @@ EOF } go.ls(){ - python3 <&1 | prefix_stdout "$_service_prefix" rm -rf "${SEARXNG_PYENV}" -python3 -m venv "${SEARXNG_PYENV}" +python -m venv "${SEARXNG_PYENV}" grep -qFs -- 'source ${SEARXNG_PYENV}/bin/activate' ~/.profile \ || echo 'source ${SEARXNG_PYENV}/bin/activate' >> ~/.profile EOF