diff --git a/www/controllers/Repo/Mirror/Rpm.php b/www/controllers/Repo/Mirror/Rpm.php index 4263de13..46a73b61 100644 --- a/www/controllers/Repo/Mirror/Rpm.php +++ b/www/controllers/Repo/Mirror/Rpm.php @@ -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); /** diff --git a/www/controllers/Repo/Package.php b/www/controllers/Repo/Package.php index 33f9db3b..b8d4b4e7 100644 --- a/www/controllers/Repo/Package.php +++ b/www/controllers/Repo/Package.php @@ -178,7 +178,6 @@ public function upload(int $snapId, $packages) * If there has been no error so far, then we can move the file to its final location */ if ($uploadError == 0 and file_exists($packageTmpName)) { - /** * Create the target dir */ diff --git a/www/public/custom_errors/custom_404.html b/www/public/custom_errors/custom_404.html index 60c0447e..a7fff54f 100644 --- a/www/public/custom_errors/custom_404.html +++ b/www/public/custom_errors/custom_404.html @@ -2,7 +2,7 @@