Ejemplo n.º 1
0
    def started(self, component):
        self.load_configuration()
        config = self.choice_config()
        if not config:
            return

        self.install_modules(config)
        Log.debug('install sucessfull')
        shutil.rmtree(os.path.join(MODULES_PATH, 'install'))
        Daemon.restart()
Ejemplo n.º 2
0
    def started(self, component):
        self.load_configuration()
        config = self.choice_config()
        if not config:
            return

        self.install_modules(config)
        Log.debug('install sucessfull')
        shutil.rmtree(os.path.join(MODULES_PATH, 'install'))
        Daemon.restart()