Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
97384a8a
Commit
97384a8a
authored
Jan 17, 2022
by
Aleix Pol Gonzalez
🐧
Browse files
pk: Mark to update as soon as the offline update is triggered
This way we can choose to restart upon finish.
parent
91109bdf
Pipeline
#124922
passed with stage
in 1 minute
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/PackageKitBackend/PackageKitUpdater.cpp
View file @
97384a8a
...
...
@@ -391,6 +391,10 @@ void PackageKitUpdater::start()
setupTransaction
(
PackageKit
::
Transaction
::
TransactionFlagSimulate
);
setProgressing
(
true
);
if
(
useOfflineUpdates
())
{
enableNeedsReboot
();
}
}
void
PackageKitUpdater
::
finished
(
PackageKit
::
Transaction
::
Exit
exit
,
uint
/*time*/
)
...
...
Aleix Pol Gonzalez
🐧
@apol
mentioned in commit
81e06276
·
Jan 17, 2022
mentioned in commit
81e06276
mentioned in commit 81e0627674dbc60d89e9b59f4e2eacfae8fe9f8e
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment