diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-17 13:28:47 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-17 13:28:47 +0000 |
commit | 4a020e9d24a2c426d17ee4d04d133cc612a3622c (patch) | |
tree | 991e299dfae65d3d4456d28100a7792fec836903 | |
parent | e9028727c32c0d92d50d0e9e63ba090e61379c62 (diff) | |
download | rpmdrake-4a020e9d24a2c426d17ee4d04d133cc612a3622c.tar rpmdrake-4a020e9d24a2c426d17ee4d04d133cc612a3622c.tar.gz rpmdrake-4a020e9d24a2c426d17ee4d04d133cc612a3622c.tar.bz2 rpmdrake-4a020e9d24a2c426d17ee4d04d133cc612a3622c.tar.xz rpmdrake-4a020e9d24a2c426d17ee4d04d133cc612a3622c.zip |
fix locking of CD after installation (#1311)
-rwxr-xr-x | rpmdrake | 1 | ||||
-rw-r--r-- | rpmdrake.spec | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -951,6 +951,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( interactive_msg_(N("Change medium"), N("Please insert the medium named \"%s\" on device [%s]", @_), yesno => 1, text => { yes => N("Ok"), no => N("Cancel") }) }); + $urpm->try_umounting_removables; my @rpms_install = grep { !/\.src\.rpm$/ } values %{$urpm->extract_packages_to_install(\%sources) || {}}; my @rpms_upgrade = grep { !/\.src\.rpm$/ } values %sources; diff --git a/rpmdrake.spec b/rpmdrake.spec index f0d67b86..8bb44293 100644 --- a/rpmdrake.spec +++ b/rpmdrake.spec @@ -8,7 +8,7 @@ %define name rpmdrake %define version 2.1 -%define release 6mdk +%define release 7mdk Name: %{name} Version: %{version} @@ -116,6 +116,10 @@ rm -rf $RPM_BUILD_ROOT %{perl_vendorarch}/*.pm %changelog +* Mon Feb 17 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-7mdk +- rpmdrake: + - fix locking of CD after installation (#1311) + * Thu Feb 13 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-6mdk - grpmi: if there was an error during installation, propose to remove the cached/downloaded packages or not (partially follows |