remove running git as abc

This commit is contained in:
Sean Dion 2015-07-30 15:24:09 -05:00
parent 080b616b5f
commit 15a8f17adc

View file

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