[xml/sgml-pkgs] Bug#587910: Preinst snippet for Ubuntu upgrades

Loïc Minier lool at dooz.org
Fri Jul 2 14:54:53 UTC 2010


Package: libxslt
Version: 1.1.26-5
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch maverick

        Hi there

 As discussed over email, it would be nice if the
 libxslt/python-libxslt1-dbg package would have a preinst snippet to
 deal with upgrades from older Ubuntu binary packages as to allow us to
 copy the source over in Ubuntu.

 Something like:

#!/bin/sh

set -e

[ "$1" = "upgrade" ] &&
[ -L /usr/share/doc/python-libxslt1-dbg ] &&
rm -f /usr/share/doc/python-libxslt1-dbg

#DEBHELPER#

exit 0

    Thanks,
-- 
Loïc Minier





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