Add Ubuntu support to configure

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-10-09 07:14:55 -07:00
parent faeea3bd8a
commit 20946f0711

View File

@ -95,13 +95,13 @@ vendor=${params[HOST]}
if [ -z "$vendor" ]; then
if [ -f /etc/os-release ]; then
eval $(cat /etc/os-release | grep ^ID)
eval $(cat /etc/os-release | grep ^ID=)
case $ID in
fedora)
vendor=redhat
;;
debian)
debian|ubuntu)
vendor=debian
;;
opensuse)