From: Christian Heller Date: Wed, 10 Feb 2016 00:24:47 +0000 (+0100) Subject: Fix user setting in postinstall script. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/process?a=commitdiff_plain;h=a92e9b0e455439dea35eee5f1b9ed6ec723cbeb1;p=config Fix user setting in postinstall script. --- diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index 3797c7d..02e4e23 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -218,10 +218,10 @@ if [ "$1" = "server" ]; then elif [ "$2" = "public" ]; then # Set up twtxt environment. apt-get -y -t jessie-backports install golang - su plom -c 'git clone '\ - 'https://github.com/plomlompom/htwtxt $GOPATH/src/htwtxt' - su plom -c 'go get htwtxt' - su plom -c 'mkdir ~/htwtxt' + su - plom -c 'git clone '\ +'https://github.com/plomlompom/htwtxt $GOPATH/src/htwtxt' + su - plom -c 'go get htwtxt' + su - plom -c 'mkdir ~/htwtxt' fi elif [ "$1" = "thinkpad" ]; then