docker-headphones/init/20_update.sh
2015-08-04 19:43:37 -05:00

9 lines
228 B
Bash
Executable file

#!/bin/bash
/sbin/setuser abc mkdir -p /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