def get_family():
 redhat_list = ('red hat', 'redhat', 'scientific linux', 'fedora', 'centos', 'virtuozzo')
 dist = check_dist()
 for item in redhat_list:
  if (item in dist):
   return 'redhat'
 if (dist in ('debian', 'ubuntu')):
  return 'debian'
 if ('suse' in dist):
  return 'suse'
 return dist

def get_family ( ) : redhat_list = ( 'red hat' , 'redhat' , 'scientific linux' , 'fedora' , 'centos' , 'virtuozzo' ) dist = check_dist ( ) for item in redhat_list : if ( item in dist ) : return 'redhat' if ( dist in ( 'debian' , 'ubuntu' ) ) : return 'debian' if ( 'suse' in dist ) : return 'suse' return dist
return the first installed font family in family list .