This file is indexed.

postinst is in apt-listchanges 2.85.13ubuntu2.

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
44
45
46
47
48
49
#!/bin/sh

set -e

PREFERENCES=/etc/apt/listchanges.conf

if [ "$1" = "configure" ]
then
    . /usr/share/debconf/confmodule

    echo "[apt]" > $PREFERENCES.new

    db_get apt-listchanges/frontend
    echo "frontend=$RET" >> $PREFERENCES.new

    db_get apt-listchanges/email-address
    echo "email_address=$RET" >> $PREFERENCES.new

    db_get apt-listchanges/confirm
    if [ "$RET" = "true" ]; then
        echo "confirm=1" >> $PREFERENCES.new
    else
        echo "confirm=0" >> $PREFERENCES.new
    fi

    db_get apt-listchanges/save-seen
    if [ "$RET" = "true" ]; then
        echo "save_seen=/var/lib/apt/listchanges.db" >> $PREFERENCES.new
    fi

    db_get apt-listchanges/which
    echo "which=$RET" >> $PREFERENCES.new

    ucf --debconf-ok $PREFERENCES.new $PREFERENCES
    rm -f $PREFERENCES.new

    ## Cleanup from older versions
fi


# Automatically added by dh_python2:
if which pycompile >/dev/null 2>&1; then
	pycompile -p apt-listchanges /usr/share/apt-listchanges -V 2.4-
fi

# End automatically added section


exit 0