From 0ff3ee13675b618a20c3666bddffbcd7baa030d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20=C3=87akmak?= Date: Tue, 20 Mar 2018 16:23:48 +0300 Subject: [PATCH] gdebi yerine dpkg ile paket yuklenilmesi saglandi --- src/base/execution/execution_manager.py | 2 +- src/base/util/util.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/execution/execution_manager.py b/src/base/execution/execution_manager.py index e30ee6f..d341815 100644 --- a/src/base/execution/execution_manager.py +++ b/src/base/execution/execution_manager.py @@ -90,7 +90,7 @@ class ExecutionManager(object): return try: - Util.install_with_gdebi(downloaded_file) + Util.install_with_dpkg(downloaded_file) self.logger.debug('Plugin installed.') except Exception as e: self.logger.error('Could not install plugin. Error Message: {0}'.format(str(e))) diff --git a/src/base/util/util.py b/src/base/util/util.py index 897d3d6..04cf066 100644 --- a/src/base/util/util.py +++ b/src/base/util/util.py @@ -223,7 +223,7 @@ class Util: raise @staticmethod - def install_with_gdebi(full_path): + def install_with_dpkg(full_path): command_dpkg = 'dpkg -i {0}' command_dep = 'apt -f install -y' commands = [command_dpkg.format(full_path),command_dep]