Packaging a Firefox extension

Kevin Kofler kevin.kofler at chello.at
Tue Nov 1 04:26:10 UTC 2011


Martin Stransky wrote:

> On 10/30/2011 06:37 PM, Ville-Pekka Vainio wrote:
>> For now, I've only packaged the extension for Firefox, but I would like
>> to add Thunderbird support as well. What would be the best way to do
>> that? I could probably symlink the extension directory from
>> %{_datadir}/mozilla/extensions/%{firefox_app_id}/%{mozvoikko_ext_id} to
>> %{_datadir}/mozilla/extensions/%{thunderbird_app_id/%{mozvoikko_ext_id}
>> but are directory symlinks still probalematic for RPM? Should I just
>> copy all the files to Thunderbird's extension directory too, to avoid
>> the symlinking?
> 
> I think the symlinks are okay, we use them to link langpacks already.

The symlink is a problem if and only if the directory was previously an 
actual directory (or will be one in the future). Conversion from directories 
to symlinks or from symlinks to directories is what confuses RPM, not a 
directory symlink per se.

        Kevin Kofler



More information about the devel mailing list