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.41 -r1.41.2.1 --- openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl 2 May 2013 11:57:22 -0000 1.41 +++ openacs-4/packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl 24 Aug 2013 15:27:25 -0000 1.41.2.1 @@ -167,6 +167,7 @@ ad_proc -public apm_get_package_files { {-include_data_model_files:boolean} + {-all:boolean} {-all_db_types:boolean} {-package_key:required} {-package_path {}} @@ -202,7 +203,11 @@ set package_path [acs_package_root_dir $package_key] } - set file_function [expr {$include_data_model_files_p ? "apm_include_data_model_file_p" : "apm_include_file_p"}] + if {$all_p} { + set file_function "" + } else { + set file_function [expr {$include_data_model_files_p ? "apm_include_data_model_file_p" : "apm_include_file_p"}] + } set files [lsort [ad_find_all_files -check_file_func $file_function $package_path]] # We don't assume db_type proc is defined yet set system_db_type [nsv_get ad_database_type .]