From a539f4d646c36518dfa79cbf91e5ba013cdcd787 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 23 May 2010 14:26:29 -0700 Subject: [PATCH] Don'g clear the distro variables in the install script Signed-off-by: Tom Eastep --- Shorewall-init/install.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Shorewall-init/install.sh b/Shorewall-init/install.sh index 41cda47b9..cfb2640d0 100755 --- a/Shorewall-init/install.sh +++ b/Shorewall-init/install.sh @@ -130,9 +130,6 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin # # Determine where to install the firewall script # -DEBIAN= -SUSE= -REDHAT= case $(uname) in *) @@ -150,9 +147,7 @@ if [ -n "$PREFIX" ]; then fi install -d $OWNERSHIP -m 755 ${PREFIX}${DEST} -fi - -if [ -f /etc/debian_version ]; then +elif [ -f /etc/debian_version ]; then DEBIAN=yes elif [ -f /etc/SuSE-release ]; then SUSE=Yes