Commit 95f13d53 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Check for portal_type while updating BT or BM from URL

parent c8370d3e
......@@ -2012,8 +2012,11 @@ class TemplateTool (BaseTool):
if update_catalog is CATALOG_UPDATABLE and install_kw != {}:
update_catalog = imported_bt5.isCatalogUpdatable()
imported_bt5.install(object_to_update=install_kw,
update_catalog=update_catalog)
if imported_bt5.getPortalType() == 'Business Manager':
self.updateInstallationState([imported_bt5])
else:
imported_bt5.install(object_to_update=install_kw,
update_catalog=update_catalog)
# Run After script list
for after_triggered_bt5_id in after_triggered_bt5_id_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment