This file is indexed.

prerm is in drbd8-utils 2:8.3.11-0ubuntu1.

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

# This script silently ignores the initscript return code if we remove
# or deconfigure the package or carefully pay attention to it if we
# upgrade the package.

# Cyril Bouthors <cyril@bouthors.org>
# Wed Feb 16 21:01:11 CET 2005

set -e

if [ -x "/etc/init.d/drbd" ]
then
    case "$1" in
	remove|deconfigure)
	    # we don't stop the drbd resources as it's not absolutely needed during
	    # a utils upgrade and it would mean that unattended upgrades cause
	    # outages
	    ;;

	*)
	    echo "prerm called with unknown argument \`$1'" >&2
	    exit 0
	    ;;
    esac
fi