From 51aa30c94a6ed55d4e2ff9759a3cfa0dd74dc491 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 23 Aug 2006 09:29:49 +0000 Subject: (perform_installation) handle removing packages while not installing some (this is due to the unified GUI) --- rpmdrake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), -- cgit v1.2.1