qubes.py: fixed an ident bug causing an icon for appvm to be created only if verbose was True

This commit is contained in:
Joanna Rutkowska 2010-05-11 16:00:16 +02:00
parent 301fbec19c
commit 7d4be47df0

View File

@ -1018,7 +1018,7 @@ class QubesAppVm(QubesVm):
if verbose: if verbose:
print "--> Creating icon symlink: {0} -> {1}".format(self.icon_path, self.label.icon_path) print "--> Creating icon symlink: {0} -> {1}".format(self.icon_path, self.label.icon_path)
os.symlink (self.label.icon_path, self.icon_path) os.symlink (self.label.icon_path, self.icon_path)
subprocess.check_call ([qubes_appmenu_create_cmd, self.template_vm.appmenus_templates_dir, self.name]) subprocess.check_call ([qubes_appmenu_create_cmd, self.template_vm.appmenus_templates_dir, self.name])