Skip to content

Commit

Permalink
Unconditionally set up Flatpaks from the image
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Nov 7, 2024
1 parent a3b50df commit 7c45b27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions systemd/seagl-init-system-flatpak.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ ConditionPathNotExists=/var/lib/flatpak
[Service]
Type=oneshot
RemainAfterExit=yes
# TODO should we just... unconditionally rsync perhaps?
ExecStart=/usr/bin/cp -a /usr/lib/seagl-flatpak /var/lib/flatpak
ExecStart=/bin/bash -c "rm -rf /var/lib/flatpak && cp -a /usr/lib/seagl-flatpak /var/lib/flatpak"

[Install]
WantedBy=multi-user.target

0 comments on commit 7c45b27

Please sign in to comment.