Don'g clear the distro variables in the install script

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-05-23 14:26:29 -07:00
parent 78850c8169
commit a539f4d646

View File

@ -130,9 +130,6 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
# #
# Determine where to install the firewall script # Determine where to install the firewall script
# #
DEBIAN=
SUSE=
REDHAT=
case $(uname) in case $(uname) in
*) *)
@ -150,9 +147,7 @@ if [ -n "$PREFIX" ]; then
fi fi
install -d $OWNERSHIP -m 755 ${PREFIX}${DEST} install -d $OWNERSHIP -m 755 ${PREFIX}${DEST}
fi elif [ -f /etc/debian_version ]; then
if [ -f /etc/debian_version ]; then
DEBIAN=yes DEBIAN=yes
elif [ -f /etc/SuSE-release ]; then elif [ -f /etc/SuSE-release ]; then
SUSE=Yes SUSE=Yes