Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pk-offline-update: exit quietly if we didn't prepare the update #78

Merged
merged 1 commit into from Aug 12, 2015

Conversation

wgwoods
Copy link
Contributor

@wgwoods wgwoods commented Aug 11, 2015

To cooperate with other things using system-update.target, the
recommended behavior is to check to see if we prepared the update,
and if not, exit quietly so as to let the other updater run.

(http://lists.freedesktop.org/archives/systemd-devel/2015-July/033623.html)

This patch makes pk-offline-update check for the action file and the
prepared update transaction; if those don't exist, exit successfully.

Resolves: rhbz#1252500

To cooperate with other things using system-update.target, the
recommended behavior is to check to see if we prepared the update,
and if not, exit quietly so as to let the other updater run.

(http://lists.freedesktop.org/archives/systemd-devel/2015-July/033623.html)

This patch makes pk-offline-update check for the action file and the
prepared update transaction; if those don't exist, exit successfully.

Resolves: rhbz#1252500
hughsie added a commit that referenced this pull request Aug 12, 2015
pk-offline-update: exit quietly if we didn't prepare the update
@hughsie hughsie merged commit 9f495b0 into PackageKit:master Aug 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants