aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 5b210869..a1f4588a 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -384,14 +384,14 @@ sub node_state {
my $pkg = $pkgs->{$name};
my $urpm_obj = $pkg->{pkg};
return warn_if_no_pkg($name) if !$urpm_obj;
- return 'backport' if $pkgs->{$name}{is_backport};
$pkg->{selected} ?
($urpm_obj->flag_installed ?
($urpm_obj->flag_upgrade ? 'to_install' : 'to_remove')
: 'to_install')
: ($urpm_obj->flag_installed ?
+ ($pkgs->{$name}{is_backport} ? 'backport' :
($urpm_obj->flag_upgrade ? 'to_update'
- : ($urpm_obj->flag_base ? 'base' : 'installed'))
+ : ($urpm_obj->flag_base ? 'base' : 'installed')))
: 'uninstalled');
}