diff options
-rwxr-xr-x | Rpmdrake/pkg.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index edd3cfbe..5f1b1eeb 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -519,9 +519,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( : N("The following packages have to be removed for others to be upgraded:")) . join("\n\n", '', $r, if_($to_install, $to_install)) . N("Is it ok to continue?")) : $to_install), scroll => 1, - yesno => 1) or do { - return 1; - }; + yesno => 1) or return 1; my $_guard = before_leaving { urpm::removable::try_umounting_removables($urpm) }; |