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

lostson lostson at lostsonsvault.org
Sun Jun 10 15:20:21 UTC 2007

 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20070610/8c10fea1/attachment.sig>

More information about the Fedora-packaging mailing list