On Sat, Mar 16, 2002 at 01:45:34PM +0100, [EMAIL PROTECTED] wrote: > I just uploaded new GnuChess packages to incoming.
* Switched to debhelper to closes: #102449 (Sorry, I do not know how to close this long standing RC bug in the currently used packaging system. So I had to switch.) The standard way, if you can't remember the shell scripting required offhand, is to look in /usr/share/debhelper/autoscripts/postinst-doc and .../prerm-doc, make the obvious substitutions, and drop that code into the postinst and prerm. It's not too complicated. 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# fi fi if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/#PACKAGE# ]; then rm -f /usr/doc/#PACKAGE# fi -- Colin Watson [EMAIL PROTECTED]