summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-03-13 16:55:27 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-03-13 16:55:27 (GMT)
commitd7e155efd9e2e5c6904aeb9ebca9feeb27aea5c8 (patch)
tree836f6138923a87afab98bb2d112a1c328196895f
parent4717cfc5551c9dfc39f19da5ba425b88cfe15860 (diff)
installing cron script directly to cron.d and link it to /etc/rhautoimport/
-rw-r--r--Makefile3
-rw-r--r--debian/links2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1a0a6d5..fa5654f 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,8 @@ install-share:
install-etc:
$(INSTALL) -d $(DESTDIR)$(ETCDIR)/$(EXECUTABLE)
- $(INSTALL) -m 644 cron $(DESTDIR)$(ETCDIR)/$(EXECUTABLE)
+ $(INSTALL) -d $(DESTDIR)$(ETCDIR)/cron.d/
+ $(INSTALL) -m 644 cron $(DESTDIR)$(ETCDIR)/cron.d/$(EXECUTABLE)
uninstall: remove
diff --git a/debian/links b/debian/links
index e4785ff..9e077e8 100644
--- a/debian/links
+++ b/debian/links
@@ -1 +1 @@
-etc/rhautoimport/cron etc/cron.d/autoimport
+etc/cron.d/autoimport etc/rhautoimport/cron