[PATCH 4/4] Add python-libxml2-dbg.preinst for Ubuntu

Loïc Minier lool at dooz.org
Sun May 30 14:17:13 UTC 2010


Cope with upgrades from older Ubuntu versions which had a
/usr/share/doc/python-libxml2-dbg -> python-libxml2 symlink (to
optimized disk usage).
---
 debian/python-libxml2-dbg.preinst |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
 create mode 100644 debian/python-libxml2-dbg.preinst

diff --git a/debian/python-libxml2-dbg.preinst b/debian/python-libxml2-dbg.preinst
new file mode 100644
index 0000000..82e47ec
--- /dev/null
+++ b/debian/python-libxml2-dbg.preinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ -L /usr/share/doc/python-libxml2-dbg ]; then
+    rm -f /usr/share/doc/python-libxml2-dbg
+fi
+
+#DEBHELPER#
-- 
1.7.0.4


--AqsLC8rIMeq19msA--





More information about the debian-xml-sgml-pkgs mailing list