v0.9.11
- added example docker-compose for minisrv + webone - update: wtv-home:/home: reduce size of title to fit longer version numbers - update: wtv-chat:/home: fix colors - update: login system: do not send tellyscript nor login headers to reconnecting (eg client:redial) client - fix: fixed tellyscript path for wtv-1800:/noflash (bf0app braindead) - update flashrom subsystem: - moved duplicate code into WTVFlashrom class - smarter part information detection - http(s) proxy updates: - allow ~ character - fix HTTPS when using HTTP proxy - include example webone.conf for external HTTP Proxy - update: app.js: enable graceful shutdown with SIGTERM - update: add service ip to wtv-tricks:/info
This commit is contained in:
21
docker-compose/webone/setup.sh
Normal file
21
docker-compose/webone/setup.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
get_latest_release() {
|
||||
curl --silent "https://api.github.com/repos/$1/releases/latest"
|
||||
}
|
||||
|
||||
debfile=$(get_latest_release atauenis/webone | \
|
||||
grep "browser_download_url" | \
|
||||
grep "amd64" | \
|
||||
grep "deb" | \
|
||||
sed -E 's/.*"([^"]+)".*/\1/')
|
||||
|
||||
if [ ! -z "${debfile}" ]; then
|
||||
curl --silent -L "${debfile}" -o /tmp/webone.deb
|
||||
if [ ! -f /bin/systemctl ]; then
|
||||
# Create dummy systemctl
|
||||
touch /bin/systemctl
|
||||
chmod +x /bin/systemctl
|
||||
fi
|
||||
apt-get install --yes /tmp/webone.deb
|
||||
rm /tmp/webone.deb
|
||||
fi
|
||||
Reference in New Issue
Block a user