From 9ace69151e6cf18226447aafd38f678212622d3c Mon Sep 17 00:00:00 2001 From: Artiom Oleinic <24320212+ArtikusHG@users.noreply.github.com> Date: Sun, 24 Sep 2023 11:17:17 +0000 Subject: [PATCH 1/2] fix: flatpak update service failing --- files/usr/lib/systemd/system/flatpak-system-update.service | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/files/usr/lib/systemd/system/flatpak-system-update.service b/files/usr/lib/systemd/system/flatpak-system-update.service index 0c778e3b..0c7e4ecf 100644 --- a/files/usr/lib/systemd/system/flatpak-system-update.service +++ b/files/usr/lib/systemd/system/flatpak-system-update.service @@ -5,7 +5,5 @@ Wants=network-online.target After=network-online.target [Service] -Type=simple -ExecStartPre=/usr/bin/flatpak --system uninstall --unused -y --noninteractive -ExecStart=/usr/bin/flatpak --system update -y --noninteractive -ExecStartPost=/usr/bin/flatpak --system repair +Type=oneshot +ExecStart=/usr/bin/flatpak --system uninstall --unused -y --noninteractive ; /usr/bin/flatpak --system update -y --noninteractive ; /usr/bin/flatpak --system repair From 27e860214eb7006bcde2e3fc38b72f106aa6df1b Mon Sep 17 00:00:00 2001 From: ArtikusHG <24320212+ArtikusHG@users.noreply.github.com> Date: Sun, 24 Sep 2023 16:23:16 +0000 Subject: [PATCH 2/2] fix: flatpak update service failing (user) --- files/usr/lib/systemd/user/flatpak-user-update.service | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/files/usr/lib/systemd/user/flatpak-user-update.service b/files/usr/lib/systemd/user/flatpak-user-update.service index 23816fd0..2c98c52f 100644 --- a/files/usr/lib/systemd/user/flatpak-user-update.service +++ b/files/usr/lib/systemd/user/flatpak-user-update.service @@ -5,7 +5,5 @@ Wants=network-online.target After=network-online.target [Service] -Type=simple -ExecStartPre=/usr/bin/flatpak --user uninstall --unused -y --noninteractive -ExecStart=/usr/bin/flatpak --user update -y --noninteractive -ExecStartPost=/usr/bin/flatpak --user repair +Type=oneshot +ExecStart=/usr/bin/flatpak --user uninstall --unused -y --noninteractive ; /usr/bin/flatpak --user update -y --noninteractive ; /usr/bin/flatpak --user repair