aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 09:29:49 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 09:29:49 +0000
commit51aa30c94a6ed55d4e2ff9759a3cfa0dd74dc491 (patch)
tree7934e4aa099ddacc99cf9b108835eb4e1e519271
parentc3fc3bd300d4d4134a45b96343c7f33cc2c6967a (diff)
downloadrpmdrake-51aa30c94a6ed55d4e2ff9759a3cfa0dd74dc491.tar
rpmdrake-51aa30c94a6ed55d4e2ff9759a3cfa0dd74dc491.tar.gz
rpmdrake-51aa30c94a6ed55d4e2ff9759a3cfa0dd74dc491.tar.bz2
rpmdrake-51aa30c94a6ed55d4e2ff9759a3cfa0dd74dc491.tar.xz
rpmdrake-51aa30c94a6ed55d4e2ff9759a3cfa0dd74dc491.zip
(perform_installation) handle removing packages while not installing some
(this is due to the unified GUI)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 1703c960..4294e1cc 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1757,7 +1757,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
}
}
- if (@rpms_install || @rpms_upgrade) {
+ if (@rpms_install || @rpms_upgrade || @{$urpm->{ask_remove}}) {
if (my @missing = grep { m|^/| && ! -e $_ } @rpms_install, @rpms_upgrade) {
interactive_msg_(
N("Installation failed"),