Index: debian/plasma-discover-flatpak-backend.postinst =================================================================== --- /dev/null +++ debian/plasma-discover-flatpak-backend.postinst @@ -0,0 +1,19 @@ +#!/bin/sh + +. /usr/share/debconf/confmodule + +# Add the flathub repo by default to give a better out of the box experience +# akin to what we offer with snap. flathub is the kinda defacto place to put +# your flatpaks, so having it enabled by default seems like a useful way to +# increase availablability of flatpaks. Ackd by discover maintainer and +# neon devs. +# https://phabricator.kde.org/T9731 +# -> Don't fail the postinst if this fails, it's not a strict requirement. +flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo || true + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0