diff --git a/init/20_update.sh b/init/20_update.sh index cfa3833..ce46231 100755 --- a/init/20_update.sh +++ b/init/20_update.sh @@ -1,11 +1,11 @@ #!/bin/bash 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 cd /opt/headphones - git pull + /sbin/setuser abc git pull fi -chown -R abc:abc /opt/headphones +#chown -R abc:abc /opt/headphones apt-get update -qq apt-get --only-upgrade install -yqq ffmpeg