~openjdk/openjdk/openjdk6-1.9

« back to all changes in this revision

Viewing changes to JB-jre-headless.prerm.in

  • Committer: Matthias Klose
  • Date: 2008-10-15 11:39:04 UTC
  • Revision ID: doko@octogon-20081015113904-fx0b4f1g3bb5lhh2
* Fix some lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
        update-alternatives --remove $i $basediralias/jre/bin/$i
12
12
    done
13
13
 
14
 
    if [ -x /usr/sbin/update-binfmts ]; then
 
14
    if which update-binfmts >/dev/null; then
15
15
        # try to remove and ignore the error
16
16
        if [ -e /var/lib/binfmts/@basename@ ]; then
17
 
            /usr/sbin/update-binfmts --package @basename@ \
 
17
            update-binfmts --package @basename@ \
18
18
                --remove jar /usr/bin/jexec || true
19
19
        fi
20
20
    fi