This file is indexed.

prerm is in imagemagick 8:6.8.9.9-7ubuntu5.

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

set -e 

if [ "$1" = "remove" ]
then
    # remove all alternatives
    for prog in compare animate convert composite conjure \
        import identify stream display montage mogrify; do 
        update-alternatives --remove $prog /usr/bin/$prog-im6
    done
fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.