This file is indexed.

postinst is in cman 3.1.7-0ubuntu2.

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

set -e

# Those using dependency based boot sequencing with sysv-rc and
# installing cman before version 2.20081102-1.1 would have wrong
# runlevel symlinks.  Recover from this.
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "3.0.2-5" \
   && [ -f /etc/rc2.d/S[0-9][0-9]cman ] && [ ! -f /etc/rcS.d/S[0-9][0-9]cman ]
then
    update-rc.d -f cman remove
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/cman" ]; then
	update-rc.d cman start 61 S . start 5 0 6 . >/dev/null || exit $?
fi
# End automatically added section