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.51 -r1.52 --- openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 24 Sep 2003 21:23:35 -0000 1.51 +++ openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 25 Sep 2003 10:26:36 -0000 1.52 @@ -404,6 +404,8 @@ array set version [apm_read_package_info_file $spec_file_path] set package_key $version(package.key) + apm_callback_and_log $callback "
Installed $version(package-name), version $version(name).
" } { apm_callback_and_log -severity Error $callback "Failed to install $version(package-name), version $version(name). The following error was generated:
@@ -1049,9 +1051,8 @@ ad_proc -private apm_packages_full_install { - { - -callback apm_dummy_callback - } pkg_info_list + {-callback apm_dummy_callback} + pkg_info_list } { Loads the data model, installs, enables, instantiates, and mounts all of the packages in pkg_list. @@ -1061,9 +1062,13 @@ if { [catch { set spec_file [pkg_info_spec $pkg_info] set package_key [pkg_info_key $pkg_info] - apm_package_install_data_model -callback $callback $spec_file - set version_id [apm_version_enable -callback $callback \ - [apm_package_install -callback $callback $spec_file]] + + apm_package_install \ + -load_data_model \ + -enable \ + -callback $callback \ + $spec_file + } errmsg] } { global errorInfo apm_callback_and_log -severity Error $callback "[string totitle $package_key] not installed.