1 2 3 4 5
post_install() { if command -v flatpak >/dev/null 2>&1; then flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo || true fi }