From c89f435c1f68f6c7a877e62b8a95ea5636e7fa78 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 21 Jan 2012 01:02:54 +0000 Subject: Fix what seems to be a bug, this condition can never be true --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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; -- cgit v1.2.1