mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 18:42:33 +02:00
[fix] debian/ubuntu python-is-python3
Closes: https://github.com/searxng/searxng/issues/3235 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
799d72e3fd
commit
5c6b126d7f
4 changed files with 7 additions and 11 deletions
2
manage
2
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";;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue