[Bug 535544] Re: mozilla-devscripts should place extension configuration files in /etc automatically

dkg dkg at fifthhorseman.net
Wed Mar 10 14:14:34 UTC 2010


I have no objection to the suggestion that /etc/xul-ext/ is a better
location than /etc/mozilla-extensions, given our package naming scheme.
i do have other concerns with the above proposal, though.

asac's comment suggests that xul apps will load the extension
preferences in alphabetical order, first-match-wins.  I don't know the
specified behavior well enough to know that to be a guarantee (though
i'd be satisfied with a link to the right spot in the xul extension
docs).

I'm also not convinced that we want an empty file as the configfile --
that seems pretty unhelpful to the sysadmin.  Most sysadmins use the
system-supplied default config files as shipped with packages, and tweak
them as needed.   I don't know if i've ever seen a package ship with an
empty config file.

If the concern is about a reversion to the packages' default preferences
file, we could place another copy of it in /usr/share/doc/xul-ext-foo/.
Then reversion is as simple as:

 cp /usr/share/doc/xul-ext-foo/foo.js /etc/xul-ext/foo.js

(sorry about the errant spaces.  i tried to fix all of those to conform
with the style of the file, but i guess i missed some.  i'm not attached
to them in any way)

-- 
mozilla-devscripts should place extension configuration files in /etc automatically
https://bugs.launchpad.net/bugs/535544
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla.




More information about the Ubuntu-mozillateam-bugs mailing list