Re: New LILO version, was Re: Woody upgrading problems, LILO and debconf
On 25-May-01, 08:22 (CDT), Dale Scheetz <dwarf@polaris.net> wrote:
> I would suggest you do the following in the postinst script:
>
> if [ "$1" != "upgrade" ] ; then
> liloconfig
> else
> echo "<some message about running lilocnfig>"
> fi
Uhh, postinst is *never* called with "upgrade". The check is that $1
is configure and $2 is empty (on an upgrade, $2 is the most recently
configured version). See section 6 of the policy manual.
Steve
--
Steve Greenland <stevegr@debian.org>
(Please do not CC me on mail sent to this list; I subscribe to and read
every list I post to.)
Reply to: