mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 09:28:20 +01:00
Update run.sh
This commit is contained in:
@@ -22,17 +22,18 @@ sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/servers/ingress.conf
|
||||
|
||||
declare TOKEN
|
||||
TOKEN=$(bashio::config 'secret_token')
|
||||
UPSTREAM="2.1.24"
|
||||
|
||||
#mv -f /data/joal/config.json / || true
|
||||
#get latest version
|
||||
mv -f /data/joal/config.json / || true
|
||||
get latest version
|
||||
#curl -s -S -J -L -o /tmp/joal.tar.gz $(curl -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz") >/dev/null
|
||||
#wget -O /tmp/joal.tar.gz "https://github.com/anthonyraymond/joal/releases/download/$UPSTREAM/joal.tar.gz"
|
||||
#mkdir -p /data/joal
|
||||
#tar zxvf /tmp/joal.tar.gz -C /data/joal >/dev/null
|
||||
#chown -R $(id -u):$(id -g) /data/joal
|
||||
#rm /data/joal/jack-of*
|
||||
#bashio::log.info "... Joal updated"
|
||||
#mv -f /config.json /data/joal/ || true
|
||||
wget -O /tmp/joal.tar.gz "https://github.com/anthonyraymond/joal/releases/download/$UPSTREAM/joal.tar.gz"
|
||||
mkdir -p /data/joal
|
||||
tar zxvf /tmp/joal.tar.gz -C /data/joal >/dev/null
|
||||
chown -R $(id -u):$(id -g) /data/joal
|
||||
rm /data/joal/jack-of*
|
||||
bashio::log.info "... Joal updated"
|
||||
mv -f /config.json /data/joal/ || true
|
||||
|
||||
###############
|
||||
# LAUNCH APPS #
|
||||
|
||||
Reference in New Issue
Block a user