19 lines
643 B
Desktop File
19 lines
643 B
Desktop File
[Unit]
|
|
Description=Installation des Flatpaks au premier démarrage
|
|
After=network-online.target flatpak-system-helper.service
|
|
Wants=network-online.target
|
|
ConditionPathExists=!/var/lib/flatpak/.firstboot-done
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/bin/bash -c '\
|
|
flatpak remote-add --if-not-exists --system flathub https://dl.flathub.org/repo/flathub.flatpakrepo && \
|
|
flatpak install -y --system flathub runtime/org.gnome.Platform/x86_64/49 && \
|
|
flatpak install -y --system flathub io.github.kolunmi.Bazaar && \
|
|
touch /var/lib/flatpak/.firstboot-done'
|
|
StandardOutput=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|