This file is indexed.

postinst is in gcj-5-jdk 5.3.1-14ubuntu2.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#! /bin/sh -e

if [ -d /usr/share/doc/gcc-5-base/java ] && [ ! -h /usr/share/doc/gcc-5-base/java ]; then
    rm -rf /usr/share/doc/gcc-5-base/java
    ln -s ../gcj-5-base /usr/share/doc/gcc-5-base/java
fi

prio=1050
update-alternatives --quiet \
    --install /usr/bin/javac javac /usr/bin/gcj-wrapper-5 $prio \
    --slave /usr/share/man/man1/javac.1.gz javac.1.gz /usr/share/man/man1/gcj-wrapper-5.1.gz

update-alternatives --quiet \
    --install /usr/bin/jar jar /usr/bin/gjar-5 $prio \
    --slave /usr/share/man/man1/jar.1.gz jar.1.gz /usr/share/man/man1/gjar-5.1.gz

update-alternatives --quiet \
    --install /usr/bin/jarsigner jarsigner /usr/bin/gjarsigner-5 $prio \
    --slave /usr/share/man/man1/jarsigner.1.gz jarsigner.1.gz /usr/share/man/man1/gjarsigner-5.1.gz

update-alternatives --quiet \
    --install /usr/bin/javah javah /usr/bin/gjavah-5 $prio \
    --slave /usr/share/man/man1/javah.1.gz javah.1.gz /usr/share/man/man1/gjavah-5.1.gz

update-alternatives --quiet \
    --install /usr/bin/javadoc javadoc /usr/bin/gjdoc-5 $prio \
    --slave /usr/share/man/man1/javadoc.1.gz javadoc.1.gz /usr/share/man/man1/gjdoc-5.1.gz

update-alternatives --quiet \
    --install /usr/bin/native2ascii native2ascii /usr/bin/gnative2ascii-5 $prio \
    --slave /usr/share/man/man1/native2ascii.1.gz native2ascii.1.gz /usr/share/man/man1/gnative2ascii-5.1.gz

update-alternatives --quiet \
    --install /usr/bin/rmic rmic /usr/bin/grmic-5 $prio \
    --slave /usr/share/man/man1/rmic.1.gz rmic.1.gz /usr/share/man/man1/grmic-5.1.gz

update-alternatives --quiet \
    --install /usr/bin/serialver serialver /usr/bin/gserialver-5 $prio \
    --slave /usr/share/man/man1/serialver.1.gz serialver.1.gz /usr/share/man/man1/gserialver-5.1.gz

update-alternatives --quiet \
    --install /usr/bin/tnameserv tnameserv /usr/bin/gtnameserv-5 $prio \
    --slave /usr/share/man/man1/tnameserv.1.gz tnameserv.1.gz /usr/share/man/man1/gtnameserv-5.1.gz