summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/Makefile4
-rw-r--r--cgi/live-build-cgi.crontab2
2 files changed, 4 insertions, 2 deletions
diff --git a/cgi/Makefile b/cgi/Makefile
index 305144aff..8ac08ddac 100644
--- a/cgi/Makefile
+++ b/cgi/Makefile
@@ -2,7 +2,8 @@
install:
install -D -m 0755 live-build-cgi $(DESTDIR)/usr/lib/cgi-bin/live-build
- install -D -m 0755 live-build-cgi.cron $(DESTDIR)/etc/cron.d/live-build-cgi
+ install -D -m 0755 live-build-cgi.cron $(DESTDIR)/etc/cron.hourly/live-build-cgi
+ install -D -m 0644 live-build-cgi.crontab $(DESTDIR)/etc/cron.d/live-build-cgi
install -D -m 0644 live-build-cgi.default $(DESTDIR)/etc/default/live-build-cgi
install -D -m 0644 live-build-cgi.logrotate $(DESTDIR)/etc/logrotate.d/live-build-cgi
@@ -13,6 +14,7 @@ install:
uninstall:
rm -f $(DESTDIR)/usr/lib/cgi-bin/live-build
rm -f $(DESTDIR)/etc/cron.d/live-build-cgi
+ rm -f $(DESTDIR)/etc/cron.hourly/live-build-cgi
rm -f $(DESTDIR)/etc/default/live-build-cgi
rm -f $(DESTDIR)/etc/logrotate.d/live-build-cgi
diff --git a/cgi/live-build-cgi.crontab b/cgi/live-build-cgi.crontab
index 0cb78a330..1bf7a815d 100644
--- a/cgi/live-build-cgi.crontab
+++ b/cgi/live-build-cgi.crontab
@@ -4,4 +4,4 @@ SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
-*/1 * * * * root /etc/cron.hourly/live-webhelper > /dev/null 2>&1
+*/1 * * * * root /etc/cron.hourly/live-build-cgi > /dev/null 2>&1