docker-headphones/init/30_update.sh
2015-10-04 12:00:29 +01: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