Commit 97384a8a authored by Aleix Pol Gonzalez's avatar 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
......@@ -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*/)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment