Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remotes: test for existance before delete.
Test if the remote exists before deleting it. This guards against two potential issues: 1. A Flatpakref might install non-enumerable remotes that are automatically deleted when the application is uninstalled, so attempting to delete them without checking could cause errors. 2. Users might manually delete apps/remotes, which could impact nix-flatpak state; checking prevents errors if the remote has already been removed.
- Loading branch information