Bevan C. Bennett wrote:
It's not really a contradiction. The mozilla package is installed in /usr/lib/mozilla-*, but the users (and any of their shell scripts) are expected to execute /usr/bin/mozilla.But /usr/lib/mozilla is being executed by users, and is only a link to /usr/lib/mozilla-*. But being in /usr/lib means it should not be executed by users or shell scripts. Confusion reigns.
Nothing in /usr/lib/mozilla-* is intended to be executed *directly* by users or scripts, and it should not appear in any user's PATH or MANPATH.
/usr/lib/mozilla is not being *directly* executed by users. That one adverb in the specification is crucial to why this makes sense.
The mozilla package is installed in a subdirectory of /usr/lib, as appropriate, but nothing in there is *directly* executed by users. /usr/bin/mozilla is created to be directly executed by users, and it then executes the appropriate things under /usr/lib/mozilla-*.