gdebi yerine dpkg ile paket yuklenilmesi saglandi

This commit is contained in:
Ömer Çakmak 2018-03-20 16:23:48 +03:00
parent 3e9c690302
commit 0ff3ee1367
2 changed files with 2 additions and 2 deletions

View File

@ -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)))

View File

@ -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]