File: ifupdown-scripts-zg2.preinst

package info (click to toggle)
ifupdown-scripts-zg2 0.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 484 kB
  • ctags: 55
  • sloc: sh: 4,037; makefile: 37
file content (14 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash -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

#DEBHELPER#