[Pkg-nagios-changes] [pkg-check-mk] 01/01: add postrm script for server

Matt Taggart taggart at moszumanska.debian.org
Fri Jul 3 20:43:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

taggart pushed a commit to branch master
in repository pkg-check-mk.

commit aea3edf4bd716b5b4f358b814abffa9c1c5e4436
Author: Matt Taggart <taggart at debian.org>
Date:   Fri Jul 3 13:43:51 2015 -0700

    add postrm script for server
    
    to clean up stuff left in /var on purge
---
 debian/check-mk-server.postrm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/check-mk-server.postrm b/debian/check-mk-server.postrm
new file mode 100644
index 0000000..6eb2a4f
--- /dev/null
+++ b/debian/check-mk-server.postrm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+# cleanup var dirs on 
+if [ "$1" = "purge" ] ; then
+        [ -e /var/lib/check_mk ] && rm -rf /var/lib/check_mk || true
+fi
+
+#DEBHELPER#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-check-mk.git



More information about the Pkg-nagios-changes mailing list