flatpak/flatpak-add-fedora-repos.service
Kalev Lember 1bc15b80ff Use "Fedora Flatpaks" as the remote title
This should make it clearer in various app centers that this is the
Fedora Flatpak repo and make it easier to distinguish from regular
Fedora RPMs when they are displayed side by side. Unofficially everybody
already talks about "Fedora Flatpaks" so it makes sense to use the same
name here to reinforce the terminology.

This goes together with
https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/564
that makes gnome-software actually use flatpak-provided repo titles.

See https://lists.fedoraproject.org/archives/list/desktop@lists.fedoraproject.org/message/CVN5OUHIHF6ST264FNXMD4ETMPOMAW34/
for the discussion.
2021-01-11 10:11:28 +01:00

15 lines
600 B
Desktop File

[Unit]
Description=Add Fedora flatpak repositories
ConditionPathExists=!/var/lib/flatpak/.fedora-initialized
Before=flatpak-system-helper.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/flatpak remote-add --system --if-not-exists --title "Fedora Flatpaks" fedora oci+https://registry.fedoraproject.org
ExecStart=/usr/bin/flatpak remote-add --system --if-not-exists --disable --title "Fedora Flatpaks (testing)" fedora-testing oci+https://registry.fedoraproject.org#testing
ExecStartPost=/usr/bin/touch /var/lib/flatpak/.fedora-initialized
[Install]
WantedBy=multi-user.target