From a92e9b0e455439dea35eee5f1b9ed6ec723cbeb1 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 10 Feb 2016 01:24:47 +0100 Subject: [PATCH] Fix user setting in postinstall script. --- jessie_postinstall.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2