summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xgurpmi22
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 9554a9b2..19ffb567 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- gurpmi:
o reuse common shared code of urpmi/rpmdrake
+ o umount removable media as soon as possible
o unlock RPM & URPMI dbs locks as soon as possible like rpmdrake
- urpmi
o when using --urpmi-root, load <root>/etc/rpm/macros
diff --git a/gurpmi2 b/gurpmi2
index 972c3fe7..3c1b81c0 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -282,6 +282,7 @@ sub do_install_3 () {
completed => sub {
$urpmi_lock->unlock;
$rpm_lock->unlock;
+ urpm::removable::try_umounting_removables($urpm);
$vbox = Gtk2::VBox->new(0, 5);
$progress_label = Gtk2::Label->new('-');
my $sw = create_scrolled_window($progress_label);
@@ -313,5 +314,4 @@ sub do_install_3 () {
trans => $callback_inst,
}
);
- urpm::removable::try_umounting_removables($urpm);
}