docker-headphones/root/etc/cont-init.d/30-update

14 lines
283 B
Text
Raw Normal View History

2016-07-04 12:47:42 +01:00
#!/usr/bin/with-contenv bash
[[ ! -d /app/headphones/.git ]] && (git clone https://github.com/rembo10/headphones.git /app/headphones && \
chown -R abc:abc /app)
# opt out for autoupdates
[ "$ADVANCED_DISABLEUPDATES" ] && exit 0
cd /app/headphones
git pull
chown -R abc:abc /app