Skip to content

Commit

Permalink
Re-run update status notification after the update
Browse files Browse the repository at this point in the history
It may happen that no updates are available anymore (for example already
installed). In this case apt nor dnf run our notification hooks, so
informations about "no updates" is never send and template stays in
"updates available" state forever.

Fixes QubesOS/qubes-issues#4650

(cherry picked from commit 4ae92f8)
  • Loading branch information
marmarek committed Mar 15, 2020
1 parent cd6a036 commit 6e4e3b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions update/qubes-vm.sls
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,6 @@ update:
- cmd: dsa-4371-update
{% endif %}

notify-updates:
cmd.run:
- name: /usr/lib/qubes/upgrades-status-notify

0 comments on commit 6e4e3b7

Please sign in to comment.