From 75f93606c352b972ea47d1fa01f4429700d9361b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 7 Jul 2017 20:19:06 -0400 Subject: [PATCH] Check the right flags flatpak_installation_install_full takes FlatpakInstallFlags, but it was checking for a FlatpakUpdateFlags field. --- lib/flatpak-installation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flatpak-installation.c b/lib/flatpak-installation.c index 56d9d50c..5cec7d58 100644 --- a/lib/flatpak-installation.c +++ b/lib/flatpak-installation.c @@ -1261,7 +1261,7 @@ flatpak_installation_install_full (FlatpakInstallation *self, ostree_progress = ostree_async_progress_new_and_connect (no_progress_cb, NULL); if (!flatpak_dir_install (dir_clone, FALSE, FALSE, - (flags & FLATPAK_UPDATE_FLAGS_NO_STATIC_DELTAS) != 0, + (flags & FLATPAK_INSTALL_FLAGS_NO_STATIC_DELTAS) != 0, ref, remote_name, (const char **)subpaths, ostree_progress, cancellable, error)) goto out;