summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 66f4846..e5f9835 100644
--- a/index.php
+++ b/index.php
@@ -166,7 +166,7 @@ foreach ($matches as $val) {
if ($ext == '.src.rpm.info') {
preg_match("!^(?:@\d+:)?(.*)!", $data, $name);
$pkgs[$key]['package'] = $name[1];
- } else if ($ext == '.src') {
+ } else if ($ext == '.src.rpm') {
$pkgs[$key]['status']['src'] = 1;
} else if ($ext == '.youri') {
$pkgs[$key]['status']['youri'] = 1;