[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:
Markus Heiser
2024-08-20 16:43:49 +02:00
committed by Markus Heiser
parent 799d72e3fd
commit 5c6b126d7f
4 changed files with 7 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ EOF
}
go.ls(){
python3 <<EOF
python <<EOF
import sys, json, requests
resp = requests.get("${GO_DL_URL}/?mode=json&include=all")
for ver in json.loads(resp.text):
@@ -67,7 +67,7 @@ go.ver_info(){
# os: [darwin|freebsd|linux|windows]
# arch: [amd64|arm64|386|armv6l|ppc64le|s390x]
python3 - "$@" <<EOF
python - "$@" <<EOF
import sys, json, requests
resp = requests.get("${GO_DL_URL}/?mode=json&include=all")
for ver in json.loads(resp.text):