It seems to me that what is *really* needed is a script that knows where to stash files like this. That script would be invoked in the postinst scripts of extension packages like mozilla-imagezoom to register the extension file. Another script would be invoked in the postinst scripts of browsers like icewhatever to register directories. This would be something like the scripts /usr/lib/emacsen-common/emacs-package-install /usr/lib/emacsen-common/emacs-install that track the installed various flavours of Emacs and installed elisp extensions in order to ensure correct compilation of elisp sources and correct placement of the resulting object files.
This would decouple knowledge of the browser-specific extension directories from the extension packages. -- Barak A. Pearlmutter Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland http://www.bcl.hamilton.ie/~barak/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

