This file is indexed.

prerm is in dcmtk 3.6.0-15.

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

# This is in case we upgrade from dcmtk version < 3.5.4
if [ -x "/etc/init.d/imagectn" ]; then
	if [ -x /usr/sbin/invoke-rc.d ]; then
        invoke-rc.d --quiet imagectn stop 
    else
        /etc/init.d/imagectn stop 
    fi
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/storescp" ] || [ -e "/etc/init/storescp.conf" ]; then
	invoke-rc.d storescp stop || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/dcmqrscp" ] || [ -e "/etc/init/dcmqrscp.conf" ]; then
	invoke-rc.d dcmqrscp stop || exit $?
fi
# End automatically added section


exit 0