projects
/
grml-tips.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3bd6d67
)
Provide debian/postrm to get rid of tag database on package removals
author
Michael Prokop
<mika@grml.org>
Wed, 11 Jan 2012 14:18:37 +0000
(15:18 +0100)
committer
Michael Prokop
<mika@grml.org>
Wed, 11 Jan 2012 14:18:50 +0000
(15:18 +0100)
debian/postrm
[new file with mode: 0755]
patch
|
blob
diff --git a/debian/postrm
b/debian/postrm
new file mode 100755
(executable)
index 0000000..
17691ec
--- /dev/null
+++ b/
debian/postrm
@@ -0,0
+1,14
@@
+#!/bin/sh -e
+
+case "$1" in
+ purge)
+ if [ -r /usr/share/grml-tips/tags ] ; then
+ echo "Removing grml-tips tag database file /usr/share/grml-tips/tags"
+ rm -f /usr/share/grml-tips/tags
+ fi
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0