install python3
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Kekskurse 2021-11-29 06:54:08 +01:00
parent fa4a4a6678
commit 827b4a8fce
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
1 changed files with 1 additions and 1 deletions

View File

@ -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