appmenus: do not regenerate all the icons for the template itself

This commit is contained in:
Marek Marczykowski-Górecki 2015-05-02 21:07:57 +02:00
parent febac40b05
commit b40008a06d

View File

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