summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-03-23 17:30:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-03-23 17:30:36 +0000
commited76955e239d467e996ea3d20e8ae14c13db0253 (patch)
treef2166989b89a195fb7c55ec83bde252793f8d106 /perl-install/pkgs.pm
parent70e35bb3512a6b6022d784ccfcc752148d7cece7 (diff)
downloaddrakx-ed76955e239d467e996ea3d20e8ae14c13db0253.tar
drakx-ed76955e239d467e996ea3d20e8ae14c13db0253.tar.gz
drakx-ed76955e239d467e996ea3d20e8ae14c13db0253.tar.bz2
drakx-ed76955e239d467e996ea3d20e8ae14c13db0253.tar.xz
drakx-ed76955e239d467e996ea3d20e8ae14c13db0253.zip
no_comment
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 0f8a5bd52..3be8ece68 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -821,7 +821,7 @@ sub install($$$;$$) {
c::rpmdbClose($db);
die "installation of rpms failed:\n ", join("\n ", @probs);
}
- } while ($nb > 0);
+ } while ($nb > 0 && !$pkgs::cancel_install);
c::rpmdbClose($db);
log::l("rpm database closed");