This file is indexed.

prerm is in dcmtk 3.6.2-3build3.

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

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

if [ -x "/etc/init.d/dcmqrscp" ]; then
    if which invoke-rc.d ; then
        invoke-rc.d --quiet dcmqrscp stop
    else
        /etc/init.d/dcmqrscp stop
    fi
fi



exit 0