On Mon, Sep 27, 1999 at 03:35:12PM -0400, Peter S Galbraith wrote:
> package itself due to problems with dpkg. One reasonable way to accomplish
> this is to put the following in the package's postinst:
> if [ "$1" = "configure" ]; then
> if [ -d /usr/doc -a ! -e /usr/doc/#PACKAGE# -a -d /usr/share/doc/#PACKAGE# ]; then
> ln -sf ../share/doc/#PACKAGE# /usr/doc/#PACKAGE#
> And the following in the package's prerm:
> if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/#PACKAGE# ]; then
> rm -f /usr/doc/#PACKAGE#
ok, that stuff sounds good, does work but lintian doesn't like it.
lintian prefers a naked rm -f in prerm.
what to do?
-----[ Domenico Andreoli, aka cavok <email@example.com>
--[ get my public pgp key at http://www.freeweb.org/free/cavok/