Merge "Add RHEL7 to Red Hat family in pkg-map"

This commit is contained in:
Jenkins 2014-07-03 00:50:34 +00:00 committed by Gerrit Code Review
commit 012c974430

View File

@ -22,7 +22,7 @@ import sys
def os_family(distro): def os_family(distro):
family = None family = None
if distro in ['centos', 'fedora', 'rhel']: if distro in ['centos', 'fedora', 'rhel', 'rhel7']:
family = 'redhat' family = 'redhat'
elif distro in ['debian', 'ubuntu']: elif distro in ['debian', 'ubuntu']:
family = 'debian' family = 'debian'