mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-03 14:56:47 -04:00
transaction: Fix ordering of runtime uninstallation
In case a transaction is uninstalling both an app and its runtime, properly ensure the app is uninstalled first.
This commit is contained in:
committed by
Alexander Larsson
parent
e16574c8ee
commit
c6647c2b14
@@ -2018,7 +2018,7 @@ add_deps (FlatpakTransaction *self,
|
||||
{
|
||||
/* If the runtime this app uses is already to be uninstalled, then this uninstall must happen before
|
||||
the runtime is uninstalled */
|
||||
if (runtime_op && op->kind == FLATPAK_TRANSACTION_OPERATION_UNINSTALL)
|
||||
if (runtime_op && runtime_op->kind == FLATPAK_TRANSACTION_OPERATION_UNINSTALL)
|
||||
run_operation_before (op, runtime_op, 1);
|
||||
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user