From e94dbfd23f1578fee0a05ad34ecf51b95c69c6bd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 13 Aug 2007 13:35:12 +0000 Subject: do try to umount removable media when using --debug (fixing commit rafel's commit r15048 on 2005-06-09) --- urpmi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/urpmi b/urpmi index cbbfc663..d32f9079 100755 --- a/urpmi +++ b/urpmi @@ -664,7 +664,9 @@ my $exit_code = urpm::main_loop::run($urpm, $state, unless ($env || $options{nolock}) { $urpmi_lock->unlock; $rpm_lock->unlock; +} +unless ($env) { #- try to umount removable device which may have been mounted. urpm::removable::try_umounting_removables($urpm); } -- cgit v1.2.1