docker-headphones/init/20_update.sh

9 lines
192 B
Bash
Raw Normal View History

2015-07-15 11:10:00 -05:00
#!/bin/bash
if [ ! -d /opt/headphones/.git ]; then
git clone https://github.com/rembo10/headphones.git /opt/headphones
else
cd /opt/headphones
git pull
2015-07-15 11:10:00 -05:00
fi
chown -R abc:abc /opt/headphones