aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-21 19:18:18 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-21 19:18:18 +0000
commit576e9eb7355515b79fede763bff4f0883bb39716 (patch)
tree289824712035bf04b6d2e0745388792ab444ce4f
parentf692c99713fb19756a146ef8bf8a8c833cc7fb82 (diff)
downloadrpmdrake-576e9eb7355515b79fede763bff4f0883bb39716.tar
rpmdrake-576e9eb7355515b79fede763bff4f0883bb39716.tar.gz
rpmdrake-576e9eb7355515b79fede763bff4f0883bb39716.tar.bz2
rpmdrake-576e9eb7355515b79fede763bff4f0883bb39716.tar.xz
rpmdrake-576e9eb7355515b79fede763bff4f0883bb39716.zip
fix being unable to install packages when started as rpmdrake-remove (#26364)
-rwxr-xr-xrpmdrake6
1 files changed, 1 insertions, 5 deletions
diff --git a/rpmdrake b/rpmdrake
index ee076388..39aad2b6 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -557,11 +557,7 @@ readconf();
init();
-if ($MODE eq 'remove') {
- run_treeview_dialog(\&perform_removal);
-} else {
- run_treeview_dialog(\&perform_installation);
-}
+run_treeview_dialog(\&perform_installation);
writeconf();