Update exports on uninstall too

This commit is contained in:
Alexander Larsson committed 2016-02-09 14:50:20 +01:00
1 parent 0a916c1dee
commit 0bfb064030
1 file changed
+6
+6
View File
@@ -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;