How do I programmatically check if a Flatpak package is installed in a shell script?
How do I programmatically check if a Flatpak package is installed in a shell script? I’m writing a script where I want to detect whether a given Flatpak package is installed, and take a different code path depending on the answer. How can I accomplish this? Traditional measures like command -v obviously won’t work unless …