Hi,

ext Eero Tamminen wrote:
ext Marius Vollmer wrote:
"ext Guillem Jover" <[EMAIL PROTECTED]> writes:

* Why are you using a Pre-Depends?

He is using this pre-depends:

    Pre-Depends: maemo-select-menu-location

This one ultimately comes from the "How to make a package for the
Application Manager" document here:

http://maemo.org/platform/docs/howtos/howto_making_an_application_package_bora.html#utilities

The maemo-select-menu-location utility is supposed to be used from
maintainer scripts, and I thought that you should pre-depend on
packages providing these utilities in this case.  Not true?

Hm. Debian policy states following:

Even better:
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
--------------------
The Depends field should also be used if the postinst, prerm or postrm scripts require the package to be present in order to run. Note, however, that the postrm cannot rely on any non-essential packages to be present during the purge phase.
...
Pre-Depends should be used sparingly, preferably only by packages whose premature upgrade or installation would hamper the ability of the system to continue with any upgrade that might be in progress.
--------------------

I think this fairly clearly states that Depends should be used
for maemo-select-menu-location as it's (AFAIK) used only at the
postinst phase.  Who does a bug on the howto?


        - Eero
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to