summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2010-06-23 18:52:36 +0200
committerMike Hommey <glandium@debian.org>2010-06-23 19:01:50 +0200
commitd3288f1eb7352bdef438e5cc12e15d23e91c573d (patch)
tree6ea3e6326d69a5034ab51e740a00607d5321b9bc
parent05f7cc7f09e588d3762a6c36fd6cab49534839db (diff)
downloadlibxml2-d3288f1eb7352bdef438e5cc12e15d23e91c573d.tar.gz
Remove /usr/share/doc/python-libxml2-dbg symlink when it exists
-rw-r--r--debian/python-libxml2-dbg.preinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/python-libxml2-dbg.preinst b/debian/python-libxml2-dbg.preinst
new file mode 100644
index 0000000..8553b97
--- /dev/null
+++ b/debian/python-libxml2-dbg.preinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+[ "$1" = "upgrade" ] &&
+[ -L /usr/share/doc/python-libxml2-dbg ] &&
+rm -f /usr/share/doc/python-libxml2-dbg
+
+#DEBHELPER#
+
+exit 0