aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-01-02 02:44:34 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-01-02 02:44:34 +0100
commitb26c06d402d89144b0b696e2de202594d1cb98d8 (patch)
tree1bad0096229dbdf4c9782f6eee7daced0302d979 /Rpmdrake
parentcd5ae21e7c3da039b64b57c1c0f58f3ab100766d (diff)
downloadrpmdrake-b26c06d402d89144b0b696e2de202594d1cb98d8.tar
rpmdrake-b26c06d402d89144b0b696e2de202594d1cb98d8.tar.gz
rpmdrake-b26c06d402d89144b0b696e2de202594d1cb98d8.tar.bz2
rpmdrake-b26c06d402d89144b0b696e2de202594d1cb98d8.tar.xz
rpmdrake-b26c06d402d89144b0b696e2de202594d1cb98d8.zip
6.136.13
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 0a168123..63bfb916 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -23,7 +23,7 @@ package Rpmdrake::gui;
#
# $Id$
-use strict;
+
our @ISA = qw(Exporter);
use lib qw(/usr/lib/libDrakX);
@@ -230,11 +230,11 @@ sub get_new_deps {
slow_func($::main_window->get_window, sub {
my $state = {};
my $db = open_rpm_db();
- my @requested = $urpm->resolve_requested__no_recommends_(
+ my @requested = $urpm->resolve_requested__no_suggests_(
$db, $state,
{ $upkg->id => 1 },
);
- @requested = $urpm->resolve_requested_recommends($db, $state, \@requested);
+ @requested = $urpm->resolve_requested_suggests($db, $state, \@requested);
undef $db;
my @nodes_with_deps = map { urpm_name($_) } @requested;
my @deps = sort { $a cmp $b } difference2(\@nodes_with_deps, [ urpm_name($upkg) ]);