Skip to content

Commit

Permalink
[backend] unlink repomd.xml.asc before calling rezip_repo_rsyncable
Browse files Browse the repository at this point in the history
Just in case, actually. And rezip_repo_rsyncable is currently not
working anyway...
  • Loading branch information
mlschroe committed Jun 10, 2015
1 parent 2ff3754 commit 27b3f17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/bs_publish
Expand Up @@ -473,6 +473,7 @@ sub createrepo_rpmmd {
}
if ($options{'rsyncable'}) {
if (-x '/usr/bin/rezip_repo_rsyncable') {
unlink("$extrep/repodata/repomd.xml.asc");
qsystem('/usr/bin/rezip_repo_rsyncable', $extrep) && print(" rezip_repo_rsyncable failed: $?\n");
} else {
print " /usr/bin/rezip_repo_rsyncable not installed, ignoring the rsyncable option\n";
Expand Down

0 comments on commit 27b3f17

Please sign in to comment.