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.126.2.22 -r1.126.2.23 --- openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 19 Aug 2022 10:16:31 -0000 1.126.2.22 +++ openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 14 Sep 2022 12:33:07 -0000 1.126.2.23 @@ -1026,10 +1026,8 @@ -arg_list [list from_version_name $upgrade_from_version_name to_version_name $version(name)] } - if {[info commands ::acs::misc_cache] ne ""} { - # Flush the installed_p cache - acs::misc_cache flush apm_package_installed-$package_key - } + # Flush the installed_p cache + acs::try_cache acs::misc_cache flush apm_package_installed-$package_key return $version_id } @@ -1242,7 +1240,8 @@ } # Flush the installed_p cache - acs::misc_cache flush apm_package_installed-$package_key + acs::try_cache acs::misc_cache flush apm_package_installed-$package_key + apm_callback_and_log $callback "

Done." }