running git as abc
This commit is contained in:
parent
14b1a4b54b
commit
0fece1b914
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [ ! -d /opt/headphones/.git ]; then
|
if [ ! -d /opt/headphones/.git ]; then
|
||||||
git clone https://github.com/rembo10/headphones.git /opt/headphones
|
/sbin/setuser abc git clone https://github.com/rembo10/headphones.git /opt/headphones
|
||||||
else
|
else
|
||||||
cd /opt/headphones
|
cd /opt/headphones
|
||||||
git pull
|
/sbin/setuser abc git pull
|
||||||
fi
|
fi
|
||||||
chown -R abc:abc /opt/headphones
|
#chown -R abc:abc /opt/headphones
|
||||||
|
|
||||||
apt-get update -qq
|
apt-get update -qq
|
||||||
apt-get --only-upgrade install -yqq ffmpeg
|
apt-get --only-upgrade install -yqq ffmpeg
|
||||||
|
|
Loading…
Add table
Reference in a new issue