From 68fbc4158a8a8ec5315c5457db6760193e9169c3 Mon Sep 17 00:00:00 2001 From: JohnnyRevay <65253638+jan-revay@users.noreply.github.com> Date: Wed, 14 Aug 2024 21:11:49 +0200 Subject: [PATCH] Flatpaks & snaps: Add `snap refresh` --- CommonInitScripts/flatpaks_snaps_appimages_nix.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/CommonInitScripts/flatpaks_snaps_appimages_nix.sh b/CommonInitScripts/flatpaks_snaps_appimages_nix.sh index 659e86f77..f9c1144b9 100755 --- a/CommonInitScripts/flatpaks_snaps_appimages_nix.sh +++ b/CommonInitScripts/flatpaks_snaps_appimages_nix.sh @@ -27,6 +27,7 @@ readonly SNAP_PACKAGES=( # TODO reloading bashrc might be needed (SNAP) # TODO verify Installing snaps from a list is not idempotent for some reason TODO try fixing +time sudo snap refresh time print0 "${SNAP_PACKAGES[@]}" | xargs -0 -I % sudo snap install % time flatpak install --noninteractive --assumeyes flathub "${FLATPAK_PACKAGES[@]}"