docker-headphones/init/30_update.sh
2016-01-19 07:33:01 +00:00

13 lines
266 B
Bash
Executable file

#!/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