Index: openacs-4/packages/acs-admin/www/apm/packages-install-4.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/packages-install-4.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-admin/www/apm/packages-install-4.tcl 19 Dec 2002 16:06:59 -0000 1.2 +++ openacs-4/packages/acs-admin/www/apm/packages-install-4.tcl 14 Jan 2003 12:18:52 -0000 1.3 @@ -78,12 +78,17 @@ file delete -force $install_path/$package_key } } else { - set version_id [apm_package_install -install_path $install_path \ - -callback apm_ns_write_callback -load_data_model \ - -data_model_files $data_model_files -message_catalog_files $message_catalog_files \ + set version_id [apm_package_install \ + -install_path $install_path \ + -callback apm_ns_write_callback \ + -load_data_model \ + -data_model_files $data_model_files \ + -message_catalog_files $message_catalog_files \ $spec_file] } if { ($version_id != 0) && ([lsearch -exact $pkg_enable_list $package_key] != -1) } { + nsv_set apm_enabled_package $package_key 1 + apm_version_enable -callback apm_ns_write_callback $version_id } incr installed_count @@ -99,9 +104,8 @@ ns_write "

Done installing packages. -

-You must restart your server for the newly installed package(s) to be available.

-Return to the APM.

+

The packages are available immediately. Enjoy!

+

Return to the APM.

[ad_footer] " }