home · contact · privacy
More lenient directory creation.
[config] / 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