Bug#341749: java-package: does not install plugin to correct location for firefox 1.5

Richard Antony Burton richardaburton at hotmail.com
Fri Dec 2 17:43:30 UTC 2005


Package: java-package
Severity: important
Tags: patch


Firefox 1.5 now installs in /usr/lib/firefox, rather then /usr/lib/mozilla-firefox
so the install script that handles the plugin no longer detects you have firefox.

It requires only a trivial fix to postinst (this will need to be added rather
than replace the existing so as to continue support for people running firefox
1.0.x (if 1.5 doesn't completely replace 1.0 in unstable - current both are
available)):
    # firefox (1.5+)
    firefox_dir="/usr/lib/firefox/plugins"
    [ -d "$firefox_dir" ] || install -d -m 755 "$firefox_dir"
    update-alternatives \
        --install "$firefox_dir/libjavaplugin.so" \
            "firefox-javaplugin.so" \
            "$plugin_dir/libjavaplugin_ojigcc3.so" "$priority"


Richard.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)




More information about the pkg-java-maintainers mailing list