aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 70105d3..7e38db8 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1192,7 +1192,7 @@ sub _unselect_package_deprecated_by_property {
set_rejected_and_compute_diff_provides($urpm, $state, $diff_provides_h, {
rejected_pkg => $p,
obsoleted => $obsoleted, removed => !$obsoleted,
- from => $pkg, why => $obsoleted ? () : { old_requested => 1 },
+ from => $pkg, why => $obsoleted ? undef : { old_requested => 1 },
});
$obsoleted or ++$state->{oldpackage};
});