summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-18 16:41:49 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-18 16:41:49 +0100
commitf325cd563e195e63e8c27d502e2b8fced63d748c (patch)
tree0bca72147c80cc402ebd533efac27b9d3ddc3b59
parente2d890398f8d2c093c3360ff1d4c2d56a81ebc95 (diff)
downloadlightdm-f325cd563e195e63e8c27d502e2b8fced63d748c.tar.gz
Fix systemd unit installation
-rw-r--r--lightdm.morph3
1 files changed, 2 insertions, 1 deletions
diff --git a/lightdm.morph b/lightdm.morph
index 736bda67..339351cb 100644
--- a/lightdm.morph
+++ b/lightdm.morph
@@ -9,7 +9,8 @@
"install-commands": [
"make DESTDIR=\"$DESTDIR\" install",
"mkdir -p \"$DESTDIR/lib/systemd/system/\"",
+ "mkdir -p \"$DESTDIR/lib/systemd/system/multi-user.target.wants\"",
"cp lightdm.service \"$DESTDIR/lib/systemd/system/\"",
- "ln -s \"$DESTDIR/lib/systemd/system/lightdm.service\" \"$DESTDIR/lib/systemd/system/multi-user.target.wants/lightdm.service\""
+ "ln -s \"/lib/systemd/system/lightdm.service\" \"$DESTDIR/lib/systemd/system/multi-user.target.wants/lightdm.service\""
]
}