2016-07-04 12:47:42 +01:00
|
|
|
#!/usr/bin/with-contenv bash
|
2016-01-19 07:33:01 +00:00
|
|
|
|
|
|
|
[[ ! -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
|
|
|
|
|