From 0bfb0640304596c8ead79b7c4f0ed5fca177eaa6 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 9 Feb 2016 14:50:20 +0100 Subject: [PATCH] Update exports on uninstall too --- app/xdg-app-builtins-uninstall.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/xdg-app-builtins-uninstall.c b/app/xdg-app-builtins-uninstall.c index 2405337c..376b91fa 100644 --- a/app/xdg-app-builtins-uninstall.c +++ b/app/xdg-app-builtins-uninstall.c @@ -126,6 +126,12 @@ xdg_app_builtin_uninstall (int argc, char **argv, GCancellable *cancellable, GEr xdg_app_dir_cleanup_removed (dir, cancellable, NULL); + if (is_app) + { + if (!xdg_app_dir_update_exports (dir, name, cancellable, error)) + return FALSE; + } + if (!xdg_app_dir_mark_changed (dir, error)) return FALSE;