[gnome-software/gnome-3-30] flatpak: Fix UPDATABLE vs UPDATABLE_LIVE confusion
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-30] flatpak: Fix UPDATABLE vs UPDATABLE_LIVE confusion
- Date: Wed, 3 Oct 2018 14:50:41 +0000 (UTC)
commit b9ade63eae11a1cce8a8e66b1c3d43e25431db90
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]