From de237aa731553175631965ddec021efa2c64bd35 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 30 Mar 2016 01:18:39 +0200
Subject: [PATCH] More lenient directory creation.

---
 jessie_postinstall.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh
index da07144..76a75f6 100755
--- a/jessie_postinstall.sh
+++ b/jessie_postinstall.sh
@@ -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
-- 
2.30.2