On 2002.08.28 03:03 Jay Graves wrote: > W: waimea: prerm-does-not-remove-usr-doc-link > W: waimea: postinst-does-not-set-usr-doc-link
> I am really not quite sure what to do here and I would really > appreciate > some guidance. > Thanks Hi. As lintian said, you have to write a simple prerm and postinst script (or add to your previous one) in the debian/ dir, that set the symlink to your extra documentation page (and remove it if you remove the package). For example postinst could be: ----------- #! /bin/sh case "$1" in configure) if [ "$1" = "configure" ]; then if [ -d /usr/doc -a ! -e /usr/doc/waimea -a -d /usr/share/doc/waimea ]; then ln -sf ../share/doc/waimea /usr/doc/waimea fi fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac exit 0 ------------- and prerm ------------- #! /bin/sh case "$1" in upgrade|remove) if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/waimea ]; then \ rm -f /usr/doc/waimea fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac exit 0 ---------- This have to be done in order to respect the Filesystem Hiearchy. Look at chapter 13.3 of Debian Policy :-) Bye bye Giorgio _______ Don't get stuck in a closet -- wear yourself out. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]