When trying to install flapaks in a script,
$ flatpak install program_I_am_installing
I get prompted with
Found similar ref(s) for 'program_I_am_installing' in remote 'flathub' (subsystem).
Use this remote [Y/n]:
The default goes to "n" when running the script since I have no way of entering Y withing the script.
I tried giving flatpak the full Application ID, but that didn't stop the question from being asked.
I'd either like to find how to answer the question Y in the script or know how to more specificaly state the program name so this question isn't asked.
There are multiple option that may help get silent installation
Include REMOTE source explicitly
Assume YES like with
apt-get
or Non-InteractiveReference: flatpak docs