~ubuntu-branches/ubuntu/quantal/icedtea-web/quantal

« back to all changes in this revision

Viewing changes to debian/PLUGIN7.postinst.in

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-08-01 15:29:49 UTC
  • Revision ID: package-import@ubuntu.com-20120801152949-8coovfx8i4f2tikv
Tags: 1.2-2ubuntu2
* Transition to openjdk-7 as default-java:
  - d/control: icedtea-plugin Depends: icedtea-6-plugin -> icedtea-7-plugin.
  - d/control: Build-Depend openjdk-6-jdk -> openjdk-7-jdk.
  - d/control: icedtea-netx: Make openjdk-7-jre the primary dependency.
  - d/rules: Use openjdk-7 to configure/build icedtea-web, pickup openjdk-7
    png files.
  - d/PLUGIN7.postinst.in: Always re-install alternatives so that priority
    changes get picked up.
  - d/rules: Prioritize java7 version above java6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
                fi
31
31
            fi
32
32
 
33
 
            if [ -z "$(update-alternatives --list $browser-javaplugin.so 2>/dev/null | grep ^$basedir/)" ]; then
34
33
                update-alternatives --quiet --install \
35
34
                    /usr/lib/$browser_dir/plugins/libjavaplugin.so \
36
35
                    $browser-javaplugin.so \
37
36
                    $PLUGINPTH \
38
37
                    $priority
39
 
            fi
40
38
        done
41
39
esac
42
40