mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[flatpak] fix -> installation fails when there are multiple references for a given package
This commit is contained in:
@@ -355,9 +355,10 @@ def search(version: str, word: str, installation: str, app_id: bool = False) ->
|
||||
return found
|
||||
|
||||
|
||||
def install(app_id: str, origin: str, installation: str):
|
||||
return new_subprocess(cmd=['flatpak', 'install', origin, app_id, '-y', '--{}'.format(installation)],
|
||||
extra_paths={EXPORTS_PATH})
|
||||
def install(app_id: str, origin: str, installation: str) -> SimpleProcess:
|
||||
return SimpleProcess(cmd=['flatpak', 'install', origin, app_id, '-y', '--{}'.format(installation)],
|
||||
extra_paths={EXPORTS_PATH},
|
||||
wrong_error_phrases={'Warning'})
|
||||
|
||||
|
||||
def set_default_remotes(installation: str, root_password: str = None) -> SimpleProcess:
|
||||
|
||||
Reference in New Issue
Block a user