diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-01-21 01:02:54 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-01-21 01:02:54 +0000 |
commit | c89f435c1f68f6c7a877e62b8a95ea5636e7fa78 (patch) | |
tree | c31342dea69ee08c541b6b961452d84e86da4fd4 | |
parent | 3969fb0fe0232f0aedcb20ceffbc3f51cf274852 (diff) | |
download | pkgsubmit-c89f435c1f68f6c7a877e62b8a95ea5636e7fa78.tar pkgsubmit-c89f435c1f68f6c7a877e62b8a95ea5636e7fa78.tar.gz pkgsubmit-c89f435c1f68f6c7a877e62b8a95ea5636e7fa78.tar.bz2 pkgsubmit-c89f435c1f68f6c7a877e62b8a95ea5636e7fa78.tar.xz pkgsubmit-c89f435c1f68f6c7a877e62b8a95ea5636e7fa78.zip |
Fix what seems to be a bug, this condition can never be true
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |