summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-27 22:21:35 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-27 22:23:16 +0200
commit5231084b479455e6cc892ec3c37c9f599c5bea58 (patch)
treea33e4bcc38a6a74890f67e7ffac66d617dea2cc0 /Makefile.am
parent27fda47f40453e552ebccf7acb85f915cf34f23a (diff)
units: add explicit dependency on display-manager.service to graphical.target
This replaces the symlink based dependency by an explicit one in the unit file so that we avoid the dangling symlink when no display manager is installed.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 0 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am
index 816a8eb4a4..b6b148ed50 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3389,9 +3389,6 @@ if TARGET_FEDORA
rm -f display-manager.service single.service && \
$(LN_S) prefdm.service display-manager.service && \
$(LN_S) rescue.service single.service )
- ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
- rm -f display-manager.service && \
- $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
endif
if TARGET_MANDRIVA
@@ -3400,9 +3397,6 @@ if TARGET_MANDRIVA
$(LN_S) prefdm.service display-manager.service && \
$(LN_S) prefdm.service dm.service && \
$(LN_S) rescue.service single.service )
- ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
- rm -f display-manager.service && \
- $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
endif
if TARGET_DEBIAN_OR_UBUNTU
@@ -3422,9 +3416,6 @@ if TARGET_MAGEIA
rm -f display-manager.service && \
$(LN_S) prefdm.service display-manager.service && \
$(LN_S) prefdm.service dm.service )
- ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
- rm -f display-manager.service && \
- $(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
endif
install-exec-hook: $(INSTALL_EXEC_HOOKS)