aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-21 11:49:13 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-21 11:49:13 +0000
commite9594d14856164208f201e0093266d4d1216dcf1 (patch)
tree808ece6be8c3c1f272c128d0042addf7996a34fb /Rpmdrake/pkg.pm
parent9cbef9d31c11f07eaf2071da4d0f81c542eeea35 (diff)
downloadrpmdrake-e9594d14856164208f201e0093266d4d1216dcf1.tar
rpmdrake-e9594d14856164208f201e0093266d4d1216dcf1.tar.gz
rpmdrake-e9594d14856164208f201e0093266d4d1216dcf1.tar.bz2
rpmdrake-e9594d14856164208f201e0093266d4d1216dcf1.tar.xz
rpmdrake-e9594d14856164208f201e0093266d4d1216dcf1.zip
(perform_installation) do not reload package databases when canceling installing
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 34f3070d..475a73d4 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -506,7 +506,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
scroll => 1,
yesno => 1) or do {
$w->set_sensitive(1);
- return 'canceled';
+ return 1;
};
my $_guard = before_leaving { urpm::removable::try_umounting_removables($urpm) };