docker-headphones/init/30_update.sh

14 lines
266 B
Bash
Raw Normal View History

2015-07-15 11:10:00 -05:00
#!/bin/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