http-server-status/install.sh
kekskurse 6d42aac7b9
All checks were successful
continuous-integration/drone/push Build is passing
Install script
2021-11-29 06:50:09 +01:00

4 lines
No EOL
365 B
Bash

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"));
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