docker-headphones/init/20_update.sh

8 lines
192 B
Bash
Executable file

#!/bin/bash
if [ ! -d /opt/headphones/.git ]; then
git clone https://github.com/rembo10/headphones.git /opt/headphones
else
cd /opt/headphones
git pull
fi
chown -R abc:abc /opt/headphones