docker-headphones/init/20_update.sh
2015-08-24 09:29:02 +02:00

10 lines
237 B
Bash
Executable file

#!/bin/bash
mkdir -p /app
chown abc:abc /app /config
if [ ! -d /app/headphones/.git ]; then
/sbin/setuser abc git clone https://github.com/rembo10/headphones.git /app/headphones
else
cd /app/headphones
/sbin/setuser abc git pull
fi