Update install script
This commit is contained in:
parent
827b4a8fce
commit
b9188f5006
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
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"));
|
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="");'`
|
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
|
wget -O hss.deb $URL
|
||||||
dpkg -i hss.deb
|
dpkg -i hss.deb
|
||||||
|
rm hss.deb
|
Loading…
Reference in a new issue