diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-08-20 11:14:49 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-08-20 11:14:49 +0200 |
commit | 249e8b95b24e94a08f3defc8f55b8cda239f5a58 (patch) | |
tree | 81fc34afa5cee8ddedb0d6bb379042f056412ee7 /zoom.php | |
parent | 9cdc1ab3c1dcf23f62724ab9e33bdbbd145ec44b (diff) |
only ask pkgdb for active fedora and epel branch
Diffstat (limited to 'zoom.php')
-rw-r--r-- | zoom.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -188,6 +188,12 @@ if ( !isset($name) || !$name ) { if ($rpm->location) { $rpm->rpmurl = $rpm->repourl . $rpm->location; } + $rpm->askpkgdb = false; + if ($rpm->active + && (substr($rpm->repo_main,0,1)=='f' + || substr($rpm->repo_sub,0,4)=='epel')) { + $rpm->askpkgdb = true; + } $packages[] = $rpm; if ( $rpm->repo_main != $prev ) { $prev = $rpm->repo_main; |