Skip to content

Commit

Permalink
Merge PR #29: Fix update based on bug in packagekit reporting invalid…
Browse files Browse the repository at this point in the history
… Info on upgrade
  • Loading branch information
jenkins committed Nov 27, 2024
2 parents 9907ff2 + 1978e0e commit 86f5b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updatecontrollerpackagekit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ bool UpdateControllerPackageKit::startUpdate(const QStringList &packageIds)
m_unfinishedTransactions.append(getUpdates);
connect(getUpdates, &PackageKit::Transaction::package, this, [packageIds, upgradeIds](PackageKit::Transaction::Info info, const QString &packageID, const QString &summary){
qCDebug(dcPlatformUpdate()) << "Found package:" << packageID << info << summary;
if ((packageIds.isEmpty() || packageIds.contains(PackageKit::Daemon::packageName(packageID))) && info == PackageKit::Transaction::InfoNormal) {
if ((packageIds.isEmpty() || packageIds.contains(PackageKit::Daemon::packageName(packageID))) /*&& (info == PackageKit::Transaction::InfoNormal)*/) {
qCDebug(dcPlatformUpdate) << "Adding package to be updated:" << packageID;
upgradeIds->insert(PackageKit::Daemon::packageName(packageID), packageID);
}
Expand Down

0 comments on commit 86f5b1e

Please sign in to comment.