[gnome-software/wip/kalev/flatpak-fixes: 2/5] flatpak: Fix UPDATABLE vs UPDATABLE_LIVE confusion
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/flatpak-fixes: 2/5] flatpak: Fix UPDATABLE vs UPDATABLE_LIVE confusion
- Date: Wed, 3 Oct 2018 12:12:33 +0000 (UTC)
commit c721adb2533bbb23a3dfc3353f281f6e036f733f
Author: Kalev Lember <klember redhat com>
Date: Wed Oct 3 13:31:32 2018 +0200
flatpak: Fix UPDATABLE vs UPDATABLE_LIVE confusion
flatpaks can be updated without rebooting, so they should always be
UPDATABLE_LIVE.
plugins/flatpak/gs-flatpak-transaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak-transaction.c b/plugins/flatpak/gs-flatpak-transaction.c
index d428c496..b788f25d 100644
--- a/plugins/flatpak/gs-flatpak-transaction.c
+++ b/plugins/flatpak/gs-flatpak-transaction.c
@@ -194,7 +194,7 @@ _transaction_new_operation (FlatpakTransaction *transaction,
break;
case FLATPAK_TRANSACTION_OPERATION_UPDATE:
if (gs_app_get_state (app) == AS_APP_STATE_UNKNOWN)
- gs_app_set_state (app, AS_APP_STATE_UPDATABLE);
+ gs_app_set_state (app, AS_APP_STATE_UPDATABLE_LIVE);
gs_app_set_state (app, AS_APP_STATE_INSTALLING);
break;
case FLATPAK_TRANSACTION_OPERATION_UNINSTALL:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]