Package: grub
Version: 0.5.93.1

--------8<--------
zombie:~# dpkg --status grub
Package: grub
Status: purge ok not-installed
Priority: extra
Section: base

zombie:~# dpkg -i 
/mnt/amnt/debian/dists/unstable/main/binary-i386/base/grub_0.5.93.1.deb 
Selecting previously deselected package grub.
(Reading database ... 13912 files and directories currently installed.)
Unpacking grub (from .../base/grub_0.5.93.1.deb) ...
Setting up grub (0.5.93.1) ...

zombie:~# ls -ld /usr/doc/grub 
ls: /usr/doc/grub: No such file or directory
-------->8--------

As far as I can see, the postinst only installs the link when called with
argv[1] one of "install" or "upgrade".  According to the Packaging Manual
(version 3.1.1.0, section 6.2), this will never happen (postinsts are
called with "configure", "abort-upgrade", "abort-remove" and
"abort-deconfigure".). 

-- 
Ben Harris
Unix Support, University of Cambridge Computing Service.

Reply via email to