[Fedora-packaging] Re: pre-install and post install instructions in a rpm

Axel Thimm Axel.Thimm at ATrpms.net
Sun Jun 10 17:20:08 UTC 2007

On Sun, Jun 10, 2007 at 10:20:21AM -0500, lostson wrote:
>  Hello all 
>  I am trying to package up obconf 2.0 with the new openbox 3.4 and am
> having troubles. With obconf upon install and uninstall I need to run
> these two commands.
> update-mime-database /usr/share/mime
> update-desktop-database /usr/share/applications
> I was reading some documentation that was talking about possibly using shell 
> scripts to issue those commands both on install and uninstall. Is this the correct 
> procedure or is there a more efficient way, thanks.

In general scriplets that are to be run during
installation/removal/upgrade are covered by rpm, read for example

Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20070610/0e0c7777/attachment.sig>

More information about the Fedora-packaging mailing list