Index: openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl,v diff -u -r1.28 -r1.29 --- openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl 25 Sep 2003 10:47:56 -0000 1.28 +++ openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl 10 Oct 2003 12:47:26 -0000 1.29 @@ -66,13 +66,13 @@ level of the package, are considered documentation files.
  • Files with a path component named www or admin-www are considered content-page files. -
  • Files ending in -procs(-)+()*.tcl) or -init.tcl are considered +
  • Files under package-key/tcl ending in -procs(-)+()*.tcl) or -init.tcl are considered Tcl procedure or Tcl initialization files, respectively.
  • File ending in .tcl are considered Tcl utility script files (normally found only in the bootstrap installer).
  • Files with extension .xml in the directory catalog are considered message catalog files. -
  • Tcl procs or init files in a test directory are of type test_procs and test_init +
  • Tcl procs or init files under package-key/tcl in a test directory are of type test_procs and test_init respectively. @@ -143,7 +143,8 @@ } elseif { [lsearch $components_lesser "www"] >= 0 || [lsearch $components_lesser "admin-www"] >= 0 } { set type "content_page" - } elseif { [string equal $extension ".tcl"] } { + } elseif { [string equal $extension ".tcl"] && [string equal [lindex $components_lesser 0] "tcl"] } { + # A .tcl file residing under dir .../package_key/tcl/ if { [regexp -- {-(procs|init)(-[0-9a-zA-Z]*)?\.tcl$} [file tail $path] "" kind] } { if { [string equal [lindex $components end-1] test] } { set type "test_$kind"