summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-04-17 19:17:41 -0500
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:06 +0100
commit08df53f89d6955b10d1b61ac3507e2d0af959da0 (patch)
tree2e84cf098131bd8250bc9d05e667ae07503116d2 /cgi
parentae2b66c0f5ed26f47ad3f14cbf2be5a296c73ddd (diff)
downloadlive-build-08df53f89d6955b10d1b61ac3507e2d0af959da0.zip
live-build-08df53f89d6955b10d1b61ac3507e2d0af959da0.tar.gz
Add uninstall and reinstall for l-h.cgi Makefile.
Diffstat (limited to 'cgi')
-rw-r--r--cgi/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/cgi/Makefile b/cgi/Makefile
index 2bd7477..555f844 100644
--- a/cgi/Makefile
+++ b/cgi/Makefile
@@ -9,3 +9,12 @@ install:
install -d -m 0755 $(DESTDIR)/var/log
touch $(DESTDIR)/var/log/live
chown www-data:www-data $(DESTDIR)/var/log/live
+
+uninstall:
+ rm $(DESTDIR)/usr/lib/cgi-bin/live-helper
+ rm $(DESTDIR)/etc/cron.d/live-helper.cgi
+ rm $(DESTDIR)/etc/default/live-helper.cgi
+ rm $(DESTDIR)/etc/logrotate.d/live-helper.cgi
+
+reinstall: uninstall install
+