dom0/qvm-core: create icon symlink for HVM

This commit is contained in:
Marek Marczykowski 2012-03-02 01:55:30 +01:00
parent 25b57bab88
commit f06d309a69

View File

@ -2082,6 +2082,10 @@ class QubesHVm(QubesVm):
print >> sys.stderr, "--> Creating directory: {0}".format(self.dir_path)
os.mkdir (self.dir_path)
if verbose:
print >> sys.stderr, "--> Creating icon symlink: {0} -> {1}".format(self.icon_path, self.label.icon_path)
os.symlink (self.label.icon_path, self.icon_path)
if verbose:
print >> sys.stderr, "--> Creating appmenus directory: {0}".format(self.appmenus_templates_dir)
os.mkdir (self.appmenus_templates_dir)