summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-03-25 16:14:22 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-03-25 16:14:22 +0000
commit33e30c659c122a380707daaa3b5c10ed734119fa (patch)
tree9ac51008b75fa0497d9e77645d37b77637a4b906
parent2274cc7b207307a96304c94b612e4052b262450c (diff)
downloadlorry-controller-33e30c659c122a380707daaa3b5c10ed734119fa.tar.gz
Create target dir in .morph
-rw-r--r--lorry-controller.morph3
1 files changed, 2 insertions, 1 deletions
diff --git a/lorry-controller.morph b/lorry-controller.morph
index e86f68c..9f1623a 100644
--- a/lorry-controller.morph
+++ b/lorry-controller.morph
@@ -2,7 +2,8 @@ build-system: python-distutils
kind: chunk
name: lorry-controller
post-install-commands:
-- install -m 0644 -D etc/lighttpd/*.conf "$DESTDIR/etc/lighttpd"
+- install -d 0755 "$DESTDIR/etc/lighttpd"
+- install -m 0644 -D etc/lighttpd/*.conf "$DESTDIR/etc/lighttpd/."
- |
TGT="$DESTDIR/usr/lib/systemd/system"
install -d "$TGT/multi-user.target.wants"