summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-04-17 19:17:41 -0500
committerRichard Nelson <unixabg@gmail.com>2010-04-17 19:17:41 -0500
commitb34a4476f0f452189c579a215285e9b65a4e8499 (patch)
tree2e84cf098131bd8250bc9d05e667ae07503116d2 /cgi
parent7b43a640ed0dd321151be9deaba28cfed9047a62 (diff)
downloadvyos-live-build-b34a4476f0f452189c579a215285e9b65a4e8499.tar.gz
vyos-live-build-b34a4476f0f452189c579a215285e9b65a4e8499.zip
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 2bd7477f4..555f8448e 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
+