diff --git a/systemd/seagl-init-system-flatpak.service b/systemd/seagl-init-system-flatpak.service index 834eaa9..9680490 100644 --- a/systemd/seagl-init-system-flatpak.service +++ b/systemd/seagl-init-system-flatpak.service @@ -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