docker-headphones/init/20_update.sh
2015-07-15 11:10:00 -05:00

9 lines
No EOL
227 B
Bash
Executable file

#!/bin/bash
if [ ! -d /opt/headphones/.git ]; then
git clone https://github.com/rembo10/headphones.git /opt/headphones
else
cd /opt/headphones
git checkout master
fi
chown -R abc:abc /opt/headphones
chown -R abc:abc /config