[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to package with mime registering?



On Tue, 5 Oct 2004 09:19:44 +0200 (CEST), Zoltan Kota wrote:

> Hi,
> 
> FC3 is out soon. I'm packaging a program for fedora extras, which should
> register itself for the new mime system under FC3/Gnome2.8. So,
> update-desktop-database should be included in the spec file for FC3, but
> not for FC1 and FC2. How to make the packaging? Should I prepare a
> different srpm for FC3? Or including some if statement?

Yes to the latter. Make it require desktop-file-utils for the
scriplets and call update-desktop-database only if it exists.

-- 
Fedora Core release 2 (Tettnang) - Linux 2.6.8-1.521
loadavg: 0.00 0.03 0.05


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]