From 249e8b95b24e94a08f3defc8f55b8cda239f5a58 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Aug 2012 11:14:49 +0200 Subject: only ask pkgdb for active fedora and epel branch --- zoom.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'zoom.php') diff --git a/zoom.php b/zoom.php index 0cde05f..502b51a 100644 --- a/zoom.php +++ b/zoom.php @@ -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; -- cgit