docker-headphones/init/20_update.sh
2015-08-06 12:52:40 -05:00

10 lines
229 B
Bash
Executable file

#!/bin/bash
mkdir -p /app
chown abc:abc /app
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