mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-12-22 19:52:15 +03:00
gdebi yerine dpkg ile paket yuklenilmesi saglandi
This commit is contained in:
parent
3e9c690302
commit
0ff3ee1367
2 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue