[Pkg-cgit-commits] [pkg-cgit] 03/04: Remove /var/cache/cgit on purge

Peter Colberg peter at colberg.org
Fri Jan 6 05:40:10 UTC 2017


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

pc-guest pushed a commit to branch master
in repository pkg-cgit.

commit 16cb7158212d8fca0c85f9bd5d430c174daa0ce7
Author: Peter Colberg <peter at colberg.org>
Date:   Fri Jan 6 00:08:15 2017 -0500

    Remove /var/cache/cgit on purge
---
 debian/cgit.postrm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/cgit.postrm b/debian/cgit.postrm
new file mode 100644
index 0000000..5656544
--- /dev/null
+++ b/debian/cgit.postrm
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "purge" ]; then
+	rm -rf /var/cache/cgit
+fi
+
+#DEBHELPER#
+
+exit 0

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



More information about the Pkg-cgit-commits mailing list