Skip to content

Commit

Permalink
make printed update info more readable
Browse files Browse the repository at this point in the history
Co-authored-by: Marek Marczykowski-Górecki <[email protected]>
  • Loading branch information
piotrbartman and marmarek authored Apr 16, 2024
1 parent 2046d8d commit 3a6c47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qui/updater/progress_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def _get_packages_admin() -> Dict[str, List[str]]:
Use rpm to return the installed packages and their versions.
"""

cmd = ["rpm", "-qa", "--queryformat", "%{NAME} %{VERSION}%{RELEASE}\n",]
cmd = ["rpm", "-qa", "--queryformat", "%{NAME} %{VERSION}-%{RELEASE}\n",]
# EXAMPLE OUTPUT:
# qubes-core-agent 4.1.351.fc34
package_list = subprocess.check_output(cmd).decode().splitlines()
Expand Down

0 comments on commit 3a6c47b

Please sign in to comment.