15 lines
600 B
SYSTEMD
15 lines
600 B
SYSTEMD
|
[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
|