summaryrefslogtreecommitdiff
path: root/debian/postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:10 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commitd1ee66e44c8272bb7a0053a456a3d8b0bd152268 (patch)
tree9e6722124d18f9358999b0da840f27857f97fede /debian/postrm
parent86726af9f5e7873d6cdbbe108fae1c41b1b67db0 (diff)
downloadvyos-live-build-d1ee66e44c8272bb7a0053a456a3d8b0bd152268.tar.gz
vyos-live-build-d1ee66e44c8272bb7a0053a456a3d8b0bd152268.zip
Adding live-helper 1.0~a12-1.
Diffstat (limited to 'debian/postrm')
-rw-r--r--debian/postrm22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 000000000..09b0aca08
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ purge)
+ rm -f /var/log/live*
+ ;;
+
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0