Fix typo causing downgrades to fail

This commit is contained in:
heliguy4599
2024-07-06 01:04:54 -04:00
committed by GitHub
parent 12743c92ad
commit e001521d6a

View File

@@ -265,7 +265,7 @@ class myUtils:
def downgrade_flatpak(self, id, ref, commit, install_type="system", mask=False, mask_list=None):
unmask_cmd = f"flatpak mask --remove --{install_type} {id} && "
update_cmd = f"flatpak updated {ref} --commit={commit} --{install_type} -y"
update_cmd = f"flatpak update {ref} --commit={commit} --{install_type} -y"
to_run_cmd = ""
if id in mask_list:
to_run_cmd += unmask_cmd