remove running git as abc
This commit is contained in:
parent
080b616b5f
commit
15a8f17adc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue