take *.rhel*.pkglist as pkglist file if *.rhels*.pkglist do not exist

This commit is contained in:
immarvin 2014-02-12 00:52:35 -08:00
parent 3dce4de63a
commit 663e7d0132

View File

@ -662,7 +662,7 @@ sub update_tables_with_templates
#get the pkglist file
my $pkglistfile=get_pkglist_file_name($cuspath, $profile, $osver, $arch);
if (!$pkglistfile) { $pkglistfile=get_pkglist_file_name($defpath, $profile, $osver, $arch);}
if (!$pkglistfile) { $pkglistfile=get_pkglist_file_name($defpath, $profile, $osver, $arch,$genos);}
#now update the db
if (!$osimagetab) {