appmenus: recreate appmenus for the template itself after update

This commit is contained in:
Marek Marczykowski-Górecki 2015-03-11 00:00:37 +01:00
parent 735788dbd6
commit 662813dc18

View File

@ -324,6 +324,7 @@ def main():
os.path.basename(system_path['appmenu_start_hvm_template']))):
shutil.copy(system_path['appmenu_start_hvm_template'], vm.appmenus_templates_dir)
vm.appmenus_recreate()
if hasattr(vm, 'appvms'):
os.putenv('SKIP_CACHE_REBUILD', '1')
for child_vm in vm.appvms.values():