[yast-commit] r41047 - in /trunk/packager: VERSION package/yast2-packager.changes src/clients/repositories.ycp

Author: lslezak Date: Mon Sep 24 14:07:30 2007 New Revision: 41047 URL: http://svn.opensuse.org/viewcvs/yast?rev=41047&view=rev Log: - relese the source after it is added, allow changing the CD medium in the drive (#293428) - 2.15.81 Modified: trunk/packager/VERSION trunk/packager/package/yast2-packager.changes trunk/packager/src/clients/repositories.ycp Modified: trunk/packager/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/VERSION?rev=41047&r1=410... ============================================================================== --- trunk/packager/VERSION (original) +++ trunk/packager/VERSION Mon Sep 24 14:07:30 2007 @@ -1 +1 @@ -2.15.80 +2.15.81 Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.c... ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Mon Sep 24 14:07:30 2007 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Sep 24 13:49:41 CEST 2007 - lslezak@suse.cz + +- relese the source after it is added, allow changing the CD medium + in the drive (#293428) +- 2.15.81 + +------------------------------------------------------------------- Mon Sep 17 12:53:25 CEST 2007 - lslezak@suse.cz - inst_rpmcopy.ycp - check for nil result of Pkg::PkgCommit(), Modified: trunk/packager/src/clients/repositories.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/repositories... ============================================================================== --- trunk/packager/src/clients/repositories.ycp (original) +++ trunk/packager/src/clients/repositories.ycp Mon Sep 24 14:07:30 2007 @@ -337,7 +337,10 @@ // broken repository or wrong URL - enter the URL again if (enter_again) + { + Pkg::SourceReleaseAll(); return `again; + } if ( size( newSources ) == 0 ) { @@ -367,6 +370,10 @@ sourceStatesOut = add( sourceStatesOut, sourceState ); } } ); + + // relese (unmount) the medium + Pkg::SourceReleaseAll(); + return `ok; } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org