Fixing bug 3406, using md5 hash algorithm for centos 5.x during createrepo
This commit is contained in:
parent
2433281aa5
commit
2b453aea6f
@ -3562,7 +3562,7 @@ sub NEW_kit_addpkgs
|
||||
my $repodir = "$::base_repodir/$kr->{kitreponame}";
|
||||
if ( -d $repodir ) {
|
||||
my $cr_opts = '';
|
||||
if (( $kr->{osbasename} =~ m/rh|RH/ ) &&
|
||||
if (( $kr->{osbasename} =~ m/rh|RH|centos|CentOS/ ) &&
|
||||
( $kr->{osmajorversion} eq '5') ) {
|
||||
$cr_opts = '-s md5';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user