Fixing bug 3406, using md5 hash algorithm for centos 5.x during createrepo
This commit is contained in:
parent
99f1ac8b79
commit
2433281aa5
@ -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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user