From 0fece1b9140d6f18a712f168c25a2a5c28c93e37 Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Thu, 30 Jul 2015 18:20:03 +0200 Subject: [PATCH] running git as abc --- init/20_update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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