Browse Source

added --or-update

Toastie 2 months ago
parent
commit
c401af70e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/flatpak/install.sh

+ 1 - 1
apps/flatpak/install.sh

@@ -1,2 +1,2 @@
 flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
 flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
-while read app; do sudo flatpak install -y flathub $app; done < flatpak-list.txt
+while read app; do sudo flatpak install --or-update --assumeyes flathub $app; done < flatpak-list.txt