On 27 Mar 2009, at 9:43 am, Michael Fladerer wrote:
-update-rc.d am-utils defaults 35 >/dev/null
+if [ "$1" = "install" ]; then
+ update-rc.d am-utils defaults 35 >/dev/null
+fi
Invoking 'update-rc.d am-utils defaults 35 >/dev/null' manually did
create the missing symlinks and solved the problem for me. It seems
that the command wasn't called during installation of the package.
It's not clear to me why this was changed and I couldn't find anything
about this in the changelog. So I think postinst scripts shouldn't
really need to check if we are installing, because otherwise they
shouldn't get executed.
Consider the situation where the local admin currently has disabled
the existing copy of am-utils by using update-rc.d. If the package is
upgraded, it's my view that the upgrade should not automatically re-
enable the init script - that's not my decision to make. That's why
it only runs the update-rc.d on an install, and not on an upgrade.
Was your case an upgrade of a pre-existing package, or an install from
scratch?
Tim
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]