Index: openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl,v diff -u -r1.22 -r1.23 --- openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl 19 Sep 2003 12:09:12 -0000 1.22 +++ openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl 23 Sep 2003 17:43:30 -0000 1.23 @@ -306,9 +306,14 @@ foreach node $dependency_types { set service_uri [apm_required_attribute_value $node url] set service_version [apm_required_attribute_value $node version] - lappend properties($dependency_type) [list $service_uri $service_version] + # Package always provides itself, we'll add that below, so don't add it here + if { ![string equal $dependency_type provides] || ![string equal $service_uri $properties(package.key)] } { + lappend properties($dependency_type) [list $service_uri $service_version] + } } } + # Package provides itself always + lappend properties(provides) [list $properties(package.key) $properties(name)] set properties(files) [list]