Bug#558490: patch to install-xpi to put standard defaults/preferences/$whatever.js into etc as config files
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Mar 10 07:08:46 GMT 2010
558490 tags + patch
thanks
attached is a patch implementing a change in install-xpi that
automatically finds files named defaults/preferences/*.js and moves them
into /etc/mozilla-extensions/, with a corresponding symlink.
if the file has a generic name (defaults.js, prefs.js, or
preferences.js) then the configfile is named after the package (e.g.
xul-ext-fubar.js. Otherwise, it should retain its name as created by
the upstream extension author. in either case, the link pointing back
to it retains its expected name.
Let me know if there are any problems with the patch.
Regards,
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 558490.patch
Type: text/x-patch
Size: 4374 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mozillateam/attachments/20100310/24abc53e/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 891 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-mozillateam/attachments/20100310/24abc53e/attachment.pgp
More information about the Ubuntu-mozillateam
mailing list