This file is indexed.

postinst is in octave3.2-emacsen 3.2.4-12.

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
#!/bin/sh
#
# postinst script for the Debian GNU/Linux octave package
#
# Initial version written by Andrew D. Fernandes <adfernan@cnd.mcgill.ca>
# This version written by Dirk Eddelbuettel <edd@debian.org>

set -e

# Automatically added by dh_installemacsen
if [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ]
then
	/usr/lib/emacsen-common/emacs-package-install octave3.2-emacsen
fi
# End automatically added section


# The current Octave version, known to debian/rules at build time
VERSION=3.2.4
PRIORITY=80

case "$1" in
    configure)
	#
	# update-alternatives for multiple Octave versions
	update-alternatives --install /usr/bin/octave-tags  octave-tags  \
				    /usr/bin/octave-tags-$VERSION $PRIORITY \
			    --slave /usr/share/man/man1/octave-tags.1.gz \
				    octave-tags.1.gz \
				    /usr/share/man/man1/octave-tags-$VERSION.1.gz
       ;;
    abort-upgrade|abort-remove|abort-deconfigure)
        ;;
    *)
        echo "postinst called with unknown argument \`$1'" >&2
        ;;
esac

exit 0