Index: openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl,v diff -u -r1.20 -r1.21 --- openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 3 Jan 2003 10:58:57 -0000 1.20 +++ openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 13 Jan 2003 22:55:55 -0000 1.21 @@ -372,7 +372,7 @@ loading the files. During installation of OpenACS when the acs-lang package hasn't been installed yet this procedure won't do anything. That's not a problem since catalog files will be loaded upon next server - restart. + restart. Also caches the messages it loads. @author Peter Marklund } { @@ -389,7 +389,10 @@ # Load message catalog files foreach catalog_rel_path $message_catalog_files { lang::catalog::import_messages_from_file "[acs_package_root_dir $package_key]/${catalog_rel_path}" - } + } + + # Cache the messages + lang::message::cache -package_key $package_key } @@ -521,6 +524,10 @@ apm_callback_and_log $callback "[string totitle $package_key] instantiated as $package_key.

" } } + + # Load Tcl libraries and xql queries so that restart is not necessary + apm_load_package -force_reload_p 1 $package_key + return $version_id }