From 445527d27e8d40acdc5172804daf65085ef67ebe Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 21 Oct 2009 16:12:02 -0700 Subject: [PATCH] Use /etc/debian_version to distinguish Debian-based systems --- Shorewall/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/install.sh b/Shorewall/install.sh index e6e50f67b..0c0d7c936 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -176,7 +176,7 @@ else fi if [ -z "$CYGWIN" ]; then - if [ -d /etc/apt -a -e /usr/bin/dpkg ]; then + if [ -f /etc/debian_version ]; then DEBIAN=yes elif [ -f /etc/slackware-version ] ; then echo "installing Slackware specific configuration..."