docker-headphones/init/20_update.sh
2015-07-30 18:20:03 +02:00

11 lines
293 B
Bash
Executable file

#!/bin/bash
if [ ! -d /opt/headphones/.git ]; then
/sbin/setuser abc git clone https://github.com/rembo10/headphones.git /opt/headphones
else
cd /opt/headphones
/sbin/setuser abc git pull
fi
#chown -R abc:abc /opt/headphones
apt-get update -qq
apt-get --only-upgrade install -yqq ffmpeg