mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 07:33:43 +01:00
Don'g clear the distro variables in the install script
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
78850c8169
commit
a539f4d646
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user