summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index 2401dfe5..e40f6f1b 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -219,6 +219,9 @@ and [options] are from
$urpm->update_media(%options, callback => \&urpm::sync_logger);
}
}
+
+ #- try to umount removable device which may have been mounted.
+ $urpm->try_umounting_removables;
}
main(@ARGV);