This file is indexed.

prerm is in ifupdown-scripts-zg2 0.6-1.

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

set -e

[ -n "$IUDSZG2DEBUG" ] && set -x

case "$1" in
	upgrade)
       		if ! check-ifupdown-scripts-zg2.d-symlinks; then
			echo "aborting package upgrade, see /etc/network/ifupdown-scripts-zg2.d/00README.linkdir"
			exit 1
		fi
		;;
	remove)
	      	kill-ifupdown-scripts-zg2.d-symlinks
		;;
esac