diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 09:09:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 09:09:40 +0000 |
commit | de137edefe0845df668e26f4b9b1f9c9ee897359 (patch) | |
tree | aa2f9e074a50f2e14168c790fee6b0a97abcae2a | |
parent | 18fcb7f56bb2ef478dc04bee829a1934263fe1e9 (diff) | |
download | urpmi-de137edefe0845df668e26f4b9b1f9c9ee897359.tar urpmi-de137edefe0845df668e26f4b9b1f9c9ee897359.tar.gz urpmi-de137edefe0845df668e26f4b9b1f9c9ee897359.tar.bz2 urpmi-de137edefe0845df668e26f4b9b1f9c9ee897359.tar.xz urpmi-de137edefe0845df668e26f4b9b1f9c9ee897359.zip |
(completed callback) umount removable media as soon as possible
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | gurpmi2 | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 @@ -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); } |