mirror of
https://github.com/searxng/searxng.git
synced 2025-12-28 06:30:02 +00: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:
committed by
Markus Heiser
parent
799d72e3fd
commit
5c6b126d7f
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user