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.20 -r1.21 --- openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl 16 Jul 2003 00:15:31 -0000 1.20 +++ openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl 16 Jul 2003 00:34:52 -0000 1.21 @@ -309,8 +309,10 @@ } { set components [split $path "/"] - - if { [string match "data_model*" [apm_guess_file_type $package_key $path]] } { + set file_type [apm_guess_file_type $package_key $path]] + + if { [string match "data_model*" $file_type] || + [string mtach "ctl_file" $file_type] } { set sql_index [lsearch $components "sql"] if { $sql_index >= 0 } { set db_dir [lindex $components [expr $sql_index + 1]]