forked from extern/shorewall_code
Add Ubuntu support to configure
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
faeea3bd8a
commit
20946f0711
4
Shorewall-core/configure
vendored
4
Shorewall-core/configure
vendored
@ -95,13 +95,13 @@ vendor=${params[HOST]}
|
|||||||
|
|
||||||
if [ -z "$vendor" ]; then
|
if [ -z "$vendor" ]; then
|
||||||
if [ -f /etc/os-release ]; then
|
if [ -f /etc/os-release ]; then
|
||||||
eval $(cat /etc/os-release | grep ^ID)
|
eval $(cat /etc/os-release | grep ^ID=)
|
||||||
|
|
||||||
case $ID in
|
case $ID in
|
||||||
fedora)
|
fedora)
|
||||||
vendor=redhat
|
vendor=redhat
|
||||||
;;
|
;;
|
||||||
debian)
|
debian|ubuntu)
|
||||||
vendor=debian
|
vendor=debian
|
||||||
;;
|
;;
|
||||||
opensuse)
|
opensuse)
|
||||||
|
Loading…
Reference in New Issue
Block a user