This file is indexed.

postinst is in cxref 1.6e-2.

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
#!/bin/sh

set -e
. /usr/share/debconf/confmodule

if [ "$1" = "configure" ] ; then

    CF=$(tempfile -m 644)

    db_get cxref/cxref-cpp-autoconf
    AUTOCONF="$RET"

    echo "AUTOCONF=$AUTOCONF" >> $CF

    ucf --debconf-ok $CF /etc/cxref/config
    ucfr cxref /etc/cxref/config

    chmod 644 /etc/cxref/config

    if [ "$AUTOCONF" = "true" ] ; then
	CXREF_DEFINE_DIR=$(dirname $CF) cxref-cpp-configure
	ucf --debconf-ok $(dirname $CF)/cxref-cpp.defines /etc/cxref/cxref-cpp.defines
    else
	ucf --debconf-ok /usr/share/cxref/cxref-cpp.defines /etc/cxref/cxref-cpp.defines
    fi
    ucfr cxref /etc/cxref/cxref-cpp.defines

fi