[yast-commit] r48667 - in /trunk/pkg-bindings: package/yast2-pkg-bindings.changes src/Package.cc
Author: lslezak Date: Fri Jun 27 16:57:32 2008 New Revision: 48667 URL: http://svn.opensuse.org/viewcvs/yast?rev=48667&view=rev Log: - Fixed Pkg::GetPackages(`available) to ignore installed packages Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes trunk/pkg-bindings/src/Package.cc Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bindings.changes?rev=48667&r1=48666&r2=48667&view=diff ============================================================================== --- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Fri Jun 27 16:57:32 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Jun 27 16:54:00 CEST 2008 - lslezak@suse.cz + +- Fixed Pkg::GetPackages(`available) to ignore installed packages + +------------------------------------------------------------------- Fri Jun 27 10:46:36 CEST 2008 - lslezak@suse.cz - support for patch messages and patch scripts (bnc#401220) Modified: trunk/pkg-bindings/src/Package.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Package.cc?rev=48667&r1=48666&r2=48667&view=diff ============================================================================== --- trunk/pkg-bindings/src/Package.cc (original) +++ trunk/pkg-bindings/src/Package.cc Fri Jun 27 16:57:32 2008 @@ -1544,7 +1544,10 @@ } else if (which == "available") { - pkg2list(packages, it, names_only); + if (!it->status().isInstalled()) + { + pkg2list(packages, it, names_only); + } } else if (which == "locked") { -- 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