Changeset View
Changeset View
Standalone View
Standalone View
debian/plasma-discover-flatpak-backend.postinst
- This file was added.
1 | #!/bin/sh | ||||
---|---|---|---|---|---|
2 | | ||||
3 | . /usr/share/debconf/confmodule | ||||
4 | | ||||
5 | # Add the flathub repo by default to give a better out of the box experience | ||||
6 | # akin to what we offer with snap. flathub is the kinda defacto place to put | ||||
7 | # your flatpaks, so having it enabled by default seems like a useful way to | ||||
8 | # increase availablability of flatpaks. Ackd by discover maintainer and | ||||
9 | # neon devs. | ||||
10 | # https://phabricator.kde.org/T9731 | ||||
11 | # -> Don't fail the postinst if this fails, it's not a strict requirement. | ||||
12 | flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo || true | ||||
13 | | ||||
14 | # dh_installdeb will replace this with shell code automatically | ||||
15 | # generated by other debhelper scripts. | ||||
16 | | ||||
17 | #DEBHELPER# | ||||
18 | | ||||
19 | exit 0 |