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.9.2.1 -r1.9.2.2 --- openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl 5 Mar 2003 14:42:01 -0000 1.9.2.1 +++ openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl 9 Mar 2003 03:37:46 -0000 1.9.2.2 @@ -93,10 +93,14 @@ # acs-mail-create.sql only). I've tightened up the regexp below to # avoid this problem, along with renaming the file... + # DRB: I've tightened it up again because forums-forums-create.sql + # was being recognized as a datamodel create script for the forums + # package. + if { [string equal $extension ".sql"] } { if { [lsearch -glob $components "*upgrade-*-*"] >= 0 } { set type "data_model_upgrade" - } elseif { [regexp -- "$package_key-(create|drop)\.sql" [file tail $path] "" kind] } { + } elseif { [regexp -- "^$package_key-(create|drop)\.sql" [file tail $path] "" kind] } { set type "data_model_$kind" } else { set type "data_model"