RHE7 support -- first cut

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2014-05-19 15:15:52 -07:00
parent dcc2fb27c5
commit 966926fac5
5 changed files with 5 additions and 5 deletions

View File

@ -98,7 +98,7 @@ if [ -z "$vendor" ]; then
eval $(cat /etc/os-release | grep ^ID=)
case $ID in
fedora)
fedora|rhel)
vendor=redhat
;;
debian|ubuntu)

View File

@ -64,7 +64,7 @@ unless ( defined $vendor ) {
$id =~ s/ID=//;
if ( $id eq 'fedora' ) {
if ( $id eq 'fedora' || $id eq 'rhel' ) {
$vendor = 'redhat';
} elsif ( $id eq 'opensuse' ) {
$vendor = 'suse';

View File

@ -198,7 +198,7 @@ if [ -z "$BUILD" ]; then
eval $(cat /etc/os-release | grep ^ID)
case $ID in
fedora)
fedora|rhel)
BUILD=redhat
;;
debian)

View File

@ -206,7 +206,7 @@ if [ -z "$BUILD" ]; then
eval $(cat /etc/os-release | grep ^ID)
case $ID in
fedora)
fedora|rhel)
BUILD=redhat
;;
debian)

View File

@ -216,7 +216,7 @@ if [ -z "$BUILD" ]; then
eval $(cat /etc/os-release | grep ^ID)
case $ID in
fedora)
fedora|rhel)
BUILD=redhat
;;
debian)