[help] when to call update-desktop-database in postinst

Josselin Mouette joss@debian.org
Thu, 28 Apr 2005 00:41:29 +0200


--=-ZqnOkIxKyyT0InN9G1Gw
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Le jeudi 28 avril 2005 =E0 00:17 +0200, Stefano Zacchiroli a =E9crit :
> Now, I can happily live adding update-desktop-database to the postinst
> script (or add dh_desktop to my debian/rules of course) of vim and the
> appropriate dependency. What puzzles me however is that packages
> shipping the other choices I see in my "Open With" menu (abiword,
> emacs21, and gedit) do not invoke it in their postinst (while other
> packages, e.g. gnumeric, do).

For abiword and gedit, the .desktop file is located in the -common
package, where also lies the postinst script.

For emacs21, this is a packaging bug; it seems that dh_desktop isn't
invoked.
--=20
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

--=-ZqnOkIxKyyT0InN9G1Gw
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCcBUYrSla4ddfhTMRAlCGAJ9AkNBqZCYpAOH/+DhSD+kOg9DpzQCfZlfc
4eg6GF9TTAQMjeEgr4BuIGw=
=cGqB
-----END PGP SIGNATURE-----

--=-ZqnOkIxKyyT0InN9G1Gw--