Fixing bug 3406, using md5 hash algorithm for centos 5.x during createrepo

This commit is contained in:
wanghuaz 2013-09-23 10:59:54 +08:00
parent 53599a891c
commit 7778cd8864

View File

@ -808,7 +808,7 @@ sub kit_buildrepo1
# run createrepo
my $cr_opts = '';
if (( $repo->{osbasename} =~ m/rh|RH/ ) &&
if (( $repo->{osbasename} =~ m/rh|RH|centos|CentOS/ ) &&
( $repo->{osmajorversion} eq '5') ) {
$cr_opts = '-s md5';
}