From 79c59e8725bb185350aec2b49b4d75bce4327476 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Mon, 25 Nov 2019 17:29:55 -0300 Subject: [PATCH] [fix][flatpak] downgrade: ignoring no related updates --- bauh/gems/flatpak/flatpak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bauh/gems/flatpak/flatpak.py b/bauh/gems/flatpak/flatpak.py index c5c7f494..10791db4 100755 --- a/bauh/gems/flatpak/flatpak.py +++ b/bauh/gems/flatpak/flatpak.py @@ -175,7 +175,7 @@ def list_updates_as_str(version: str): def downgrade(app_ref: str, commit: str, root_password: str) -> subprocess.Popen: - return new_root_subprocess([BASE_CMD, 'update', '--commit={}'.format(commit), app_ref, '-y'], root_password) + return new_root_subprocess([BASE_CMD, 'update', '--no-related', '--commit={}'.format(commit), app_ref, '-y'], root_password) def get_app_commits(app_ref: str, origin: str) -> List[str]: