This file is indexed.

postrm is in octave3.2 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
#!/bin/sh -e
#
# postrm script for the Debian GNU/Linux octave package

# Automatically added by dh_installmenu
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
# End automatically added section


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

if [ "$1" = purge ] ; then
	# Remove the packages database file
        rm -f /usr/share/octave/packages/$VERSION/octave_packages
        # Remove the directories, if we can
        rmdir /usr/share/octave/packages/$VERSION/ 2>/dev/null	\
            && rmdir /usr/share/octave/packages/ 2>/dev/null	\
            && rmdir /usr/share/octave/ 2>/dev/null || true
fi