This file is indexed.

preinst is in l7-protocols 20090528-4.

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

if [ "$1" = "upgrade" -a "$2" = "20090528-1" ]; then
	for symlink in $(find /etc/l7-protocols -type l -name '*.pat'); do
		if [ $(printf "%s\n" $symlink | sed -e 's:^/etc:/usr/share:') = $(readlink $symlink) ]; then
			rm -f "$symlink"
		fi
	done
fi