home · contact · privacy
More lenient directory creation.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 29 Mar 2016 23:18:39 +0000 (01:18 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 29 Mar 2016 23:18:39 +0000 (01:18 +0200)
jessie_postinstall.sh

index da071445642d56b3eb2f208e0e270e5c5d2801e1..76a75f6cd266a8dfc39b7edbb1cb625bd0fd9cd4 100755 (executable)
@@ -226,7 +226,7 @@ if [ "$1" = "server" ]; then
         su - plom -c 'go get htwtxt'
         path=`su - plom -c 'echo $GOPATH/bin/htwtxt'`
         setcap 'cap_net_bind_service=+ep' $path
-        su - plom -c 'mkdir ~/htwtxt'
+        su - plom -c 'mkdir -p ~/htwtxt'
     fi
 
 elif [ "$1" = "thinkpad" ]; then