From 6dc2da7f66c7713226264dffe9fcf66fe792cb71 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Fri, 9 Apr 2010 09:54:16 +0200 Subject: Remove /usr/share/doc symbolic links on upgrade They will then be replaced by directories by dpkg. Closes: #577025. --- debian/libxml2-utils.preinst | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 debian/libxml2-utils.preinst (limited to 'debian/libxml2-utils.preinst') diff --git a/debian/libxml2-utils.preinst b/debian/libxml2-utils.preinst new file mode 100644 index 0000000..8c07be8 --- /dev/null +++ b/debian/libxml2-utils.preinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +[ "$1" = "upgrade" ] && +[ -L /usr/share/doc/libxml2-utils ] && +rm -f /usr/share/doc/libxml2-utils + +#DEBHELPER# + +exit 0 -- cgit v1.2.3