From 827b4a8fce0b269273ac895120681845153c5365 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Mon, 29 Nov 2021 06:54:08 +0100 Subject: [PATCH] install python3 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 803ec28..c559c7f 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -URL=`python -c 'import urllib.request;import json;f = urllib.request.urlopen("https://git.keks.cloud/api/v1/repos/kekskurse/http-server-status/releases?limit=1");d = json.loads(f.read().decode("utf-8")); +URL=`python3 -c 'import urllib.request;import json;f = urllib.request.urlopen("https://git.keks.cloud/api/v1/repos/kekskurse/http-server-status/releases?limit=1");d = json.loads(f.read().decode("utf-8")); for asset in d[0]["assets"]: x = asset["browser_download_url"] if asset["name"][-4:] == ".deb" else ""; print(x, end="");'` wget -O hss.deb $URL dpkg -i hss.deb \ No newline at end of file