This file is indexed.

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

set -e

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

CHECKIFDSYMLINKS="/usr/bin/check-ifupdown-scripts-zg2.d-symlinks"

#if [ "$1" = "configure" ]; then
if [ -x $CHECKIFDSYMLINKS ] && ! $CHECKIFDSYMLINKS; then
	echo >&2 "aborting package installation, see /etc/network/ifupdown-scripts-zg2.d/00README.linkdir"
	exit 1
fi
#fi