[gnome-builder] flatpak: remove the filter file after using
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] flatpak: remove the filter file after using
- Date: Tue, 16 Nov 2021 22:48:36 +0000 (UTC)
commit 6931a4668bb9dfd256d06cb89dc4179ae6ba3e43
Author: Christian Hergert <chergert redhat com>
Date: Tue Nov 16 14:48:23 2021 -0800
flatpak: remove the filter file after using
Flatpak makes a copy of our filter file to use and therefore we should be
able to remove it after use.
src/plugins/flatpak/daemon/ipc-flatpak-repo.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/flatpak/daemon/ipc-flatpak-repo.c b/src/plugins/flatpak/daemon/ipc-flatpak-repo.c
index c8d7f67d5..9718a71c5 100644
--- a/src/plugins/flatpak/daemon/ipc-flatpak-repo.c
+++ b/src/plugins/flatpak/daemon/ipc-flatpak-repo.c
@@ -119,6 +119,9 @@ ipc_flatpak_repo_constructed (GObject *object)
}
}
+ /* Flatpak makes it's own copy of the filter file */
+ g_file_delete (filter_file, NULL, NULL);
+
#define INSTALLATION_NAME "Installation \"gnome-builder-private\""
keyfile = g_key_file_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]