Forum OpenACS Development: Re: 5.0 upgrade process requires Tcl Calls

Collapse
Posted by Dave Bauer on
I added this code to a new file zzz-postload under openacs/tcl
if ![apm_package_installed_p acs-lang] {

    apm_package_install -enable -mount_path acs-lang [acs_root_dir]/packages/acs-lang/acs-lang.info

}


if ![apm_package_installed_p acs-authentication] {

    apm_package_install -enable [acs_root_dir]/packages/acs-authentication/acs-authentication.info

}
I think this works ok for an upgrade, but i am not sure how it will interact on a new install of 5.0.