Skip to content

Commit c68dda2

Browse files
authored
updater: prevent edge case failure
https://discord.com/channels/719014537277210704/905503803820884008/1488332819011993763 not sure why this gives a bad exit code
1 parent 86880ca commit c68dda2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ fi
239239

240240
echo "Updating Flatpak packages (if you have any)..."
241241
##two separate flatpak updaters to catch all programs regardless of whether the user installed them for the system or just the user
242-
sudo flatpak update -y --noninteractive
243-
flatpak update --user -y --noninteractive
242+
sudo flatpak update -y --noninteractive || true
243+
flatpak update --user -y --noninteractive || true
244244

245245
echo "Marking all AppImages under ~/Applications as executable..."
246246
chmod +x ~/Applications/*.AppImage

0 commit comments

Comments
 (0)