summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-08 05:29:09 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-08 05:29:09 +0200
commit83698d60db0edeff364717c48b93b74036a17449 (patch)
tree2338ac9559ebed2c17393814498b7625eb9e62bc
parent301056b7a0e7c6b36f1277c0a776d5bb509844cf (diff)
units: properly create prefdm symlink
-rw-r--r--Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index dfea23df4f..e76eee43e9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -752,7 +752,7 @@ if TARGET_FEDORA
$(LN_S) $(systemunitdir)/prefdm.service display-manager.service )
( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
rm -f prefdm.service && \
- $(LN_S) ../prefdm.service prefdm.service )
+ $(LN_S) $(systemunitdir)/prefdm.service prefdm.service )
( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
rm -f rc-local.service && \
$(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
@@ -767,8 +767,8 @@ if TARGET_GENTOO
rm -f display-manager.service && \
$(LN_S) $(systemunitdir)/xdm.service display-manager.service )
( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
- rm -f prefdm.service && \
- $(LN_S) ../prefdm.service prefdm.service )
+ rm -f xdm.service && \
+ $(LN_S) $(systemunitdir)/xdm.service xdm.service )
endif
DISTCHECK_CONFIGURE_FLAGS = \