mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-13 20:52:39 -04:00
Update exports on uninstall too
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user