Skip to content

Commit

Permalink
Merge pull request #126 from hyung-hwan/devel
Browse files Browse the repository at this point in the history
changed the controllers/Repo/Mirror/Rpm.php to check /repodata/repomd.xml
  • Loading branch information
lbr38 authored Nov 4, 2023
2 parents b50435e + 2192b94 commit 629c11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/controllers/Repo/Mirror/Rpm.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ public function mirror()
*/
foreach ($this->archUrls as $arch => $archUrls) {
foreach ($archUrls as $url) {
if (!\Controllers\Common::urlFileExists($url . '/repodata', $this->sslCustomCertificate, $this->sslCustomPrivateKey)) {
if (!\Controllers\Common::urlFileExists($url . '/repodata/repomd.xml', $this->sslCustomCertificate, $this->sslCustomPrivateKey)) {
// $this->logOutput(' - ' . $url . ' (unreachable or nothing here?)' . PHP_EOL);

/**
Expand Down

0 comments on commit 629c11a

Please sign in to comment.