Le Fri, Aug 27, 1999 at 04:40:41PM -0400, Michael Stone écrivait: > I'm a little concerned about creating the link in the postinst, as that > part of the install (IIRC) can be delayed for various reasons. (And it > would be a Bad Thing to risk losing /bin/sh for an indefinite period of > time.) Can you put think link creation at the end of the preinst, > instead?
Which is also not so logical since in the preinst bash is not yet unpacked and there may be no /bin/bash ... it may be installed in the preinst when the package is upgraded ($1 = upgrade) only (in which case the link should already exist, but a little check should not hurt). Cheers, -- Raphaël Hertzog -=- http://ntux.u-strasbg.fr/~raphael/ <pub> CDs Debian : http://ntux.u-strasbg.fr/~raphael/debian/#cd </pub>