empty /var/run/updates-available, rather than removing it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
Binary package hint: update-notifier
I have a couple of packages where are consumers of the information published in /var/run/
There's a minor issue with debian/
The absence of that file should indicate that current state of updates available is "unknown".
The contents of that file should indicate that the state is known, and what that state is. If updates are available, then the file is populated with the number of regular updates, and security updates available. If that file is empty, then it should indicate that there are no updates available.
This is a trivial change, and I have a 1 line fix for it.
Cheers,
:-Dustin
Patch attached.
:-Dustin