This file is indexed.

prerm is in imagemagick-6.q16 8:6.9.7.4+dfsg-16ubuntu6.

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


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.q16
	update-alternatives --remove $prog-im6 /usr/bin/$prog-im6.q16
    done
fi



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