summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 467a8919..ee09409a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2539,8 +2539,7 @@ sub is_delta_installable {
my ($p) = @_;
$p->name eq $n and $v_installed = $p->version . '-' . $p->release;
});
- return 0 if $v_match ne $v_installed;
- 1;
+ $v_match eq $v_installed;
}
#- download package that may need to be downloaded.