def run(self): install.run(self) # These below are from Zenmap. We're only using set_modules_path right now, but # we might consider whether the others would be useful (or, if not, whether we # should remove them from Zenmap). # self.set_perms() self.set_modules_path() # self.fix_paths() self.create_uninstaller() self.write_installed_files()
def run(self): """Install everything and update the desktop file database.""" install.run(self) get_command_obj = self.distribution.get_command_obj root = get_command_obj("install").root data_dir = get_command_obj("install_data").install_dir # Assume we're actually installing if --root was not given. if (root is not None) or (data_dir is None): return directory = os.path.join(data_dir, "share", "applications") log.info("updating desktop database in '{}'".format(directory)) run_command_or_warn('update-desktop-database "{}"'.format(directory))
def run(self): """Install everything and update the desktop file database.""" install.run(self) get_command_obj = self.distribution.get_command_obj root = get_command_obj("install").root data_dir = get_command_obj("install_data").install_dir # Assume we're actually installing if --root was not given. if (root is not None) or (data_dir is None): return directory = os.path.join(data_dir, "share", "applications") log.info("updating desktop database in '{}'".format(directory)) run_or_warn('update-desktop-database "{}"'.format(directory))
def run(self): _pre_install() install.run(self) _post_install()
def run(self): install.run(self) # These below are from Zenmap. We're only using set_modules_path right now, but we might consider whether the others would be useful (or, if not, whether we should remove them from Zenmap). # self.set_perms() self.set_modules_path()