mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-26 01:23:14 +01:00
Accept host=debian.* in the configure scripts (Matt Darfeuille)
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f9de9c3c74
commit
c6065c0370
3
Shorewall-core/configure
vendored
3
Shorewall-core/configure
vendored
@ -169,6 +169,9 @@ else
|
|||||||
elif [ $vendor = default ]; then
|
elif [ $vendor = default ]; then
|
||||||
params[HOST]=linux
|
params[HOST]=linux
|
||||||
vendor=linux
|
vendor=linux
|
||||||
|
elif [[ $vendor == debian.* ]]; then
|
||||||
|
params[HOST]=debian
|
||||||
|
vendor=debian
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -102,6 +102,8 @@ if ( defined $vendor ) {
|
|||||||
die qq("ERROR: $vendor" is not a recognized host type);
|
die qq("ERROR: $vendor" is not a recognized host type);
|
||||||
} elsif ( $vendor eq 'default' ) {
|
} elsif ( $vendor eq 'default' ) {
|
||||||
$params{HOST} = $vendor = 'linux';
|
$params{HOST} = $vendor = 'linux';
|
||||||
|
} elsif ( $vendor =~ /^debian\./ ) {
|
||||||
|
$params{HOST} = $vendor = 'debian';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ( -f '/etc/debian_version' ) {
|
if ( -f '/etc/debian_version' ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user