File: ifupdown-scripts-zg2.preinst

package info (click to toggle)
ifupdown-scripts-zg2 0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 500 kB
  • ctags: 76
  • sloc: sh: 3,606; makefile: 35
file content (16 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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

#DEBHELPER#