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 -N -r1.41.2.3 -r1.41.2.4 --- openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl 1 Oct 2013 07:40:20 -0000 1.41.2.3 +++ openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl 2 Oct 2013 08:29:06 -0000 1.41.2.4 @@ -216,7 +216,7 @@ set file_type [apm_guess_file_type $package_key $rel_path] set file_db_type [apm_guess_db_type $package_key $rel_path] - set type_match_p [expr {$file_types eq "" || [lsearch $file_types $file_type] != -1}] + set type_match_p [expr {$file_types eq "" || $file_type in $file_types}] if { $all_db_types_p } { set db_match_p 1