Skip to content

Commit

Permalink
Fix #117 (flatpak update failing) (#122)
Browse files Browse the repository at this point in the history
* fix: flatpak update service failing

* fix: flatpak update service failing (user)
  • Loading branch information
ArtikusHG authored Sep 24, 2023
1 parent 0b35598 commit 075ffd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions files/usr/lib/systemd/system/flatpak-system-update.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 2 additions & 4 deletions files/usr/lib/systemd/user/flatpak-user-update.service
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 075ffd3

Please sign in to comment.