Adding this so it won't get forgotten... deppackage.postinst.in is added
to each packages postinst that has a replaced doc dir. If I understand
what was posted before this might be a policy violation. It has been
part of OOo in Ubuntu since at least before Ubuntu 7.10 when I took over
maintenance but hasn't caused a noticeable problem.

deppackage.postinst.in
---
#! /bin/sh -e

case "$1" in
    configure)
        docdir=/usr/share/doc/@PKGNAME@
        if [ -d $docdir ] && [ ! -h $docdir ]; then
            rm -rf $docdir
            ln -s @PKGTARGET@ $docdir
        fi
esac

#DEBHELPER#

-- 
file overwrite error on 8.04 -> 10.04 upgrade
https://bugs.launchpad.net/bugs/570058
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to