From 4a020e9d24a2c426d17ee4d04d133cc612a3622c Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 17 Feb 2003 13:28:47 +0000 Subject: fix locking of CD after installation (#1311) --- rpmdrake | 1 + rpmdrake.spec | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rpmdrake b/rpmdrake index b79354fe..f2f6a5d3 100755 --- a/rpmdrake +++ b/rpmdrake @@ -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 2.1-7mdk +- rpmdrake: + - fix locking of CD after installation (#1311) + * Thu Feb 13 2003 Guillaume Cottenceau 2.1-6mdk - grpmi: if there was an error during installation, propose to remove the cached/downloaded packages or not (partially follows -- cgit v1.2.1