summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 8b5c52f..f932651 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,7 +67,7 @@ CLEANFILES = $(bin_SCRIPTS) \
$(pkgsysconf_DATA) \
$(nodist_systemdunits_DATA)
-install-exec-hook:
+install-data-hook:
rm -rf $(DESTDIR)$(systemdunitsdir)/postgresql$(DISTSUFF)@.service
ln $(DESTDIR)$(systemdunitsdir)/postgresql$(DISTSUFF).service \
$(DESTDIR)$(systemdunitsdir)/postgresql$(DISTSUFF)@.service