From 4e948cbf7e94bfde99342fa66f76387634a48421 Mon Sep 17 00:00:00 2001 From: Ayo Date: Wed, 17 Jun 2026 11:41:31 +0200 Subject: [PATCH] feat(up): update snap packages --- example.conf | 1 + up.sh | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/example.conf b/example.conf index 9c582fc..16f807d 100644 --- a/example.conf +++ b/example.conf @@ -2,6 +2,7 @@ notes_dir="${HOME}/Notes" scripts_dir="${HOME}/Projects/scripts" editor="vim" skip_flatpak=true +skip_snap=true # TODO: Add a flag for force using local? # Ollama host URL or IP; for fully local, leave empty or comment out diff --git a/up.sh b/up.sh index 1af65c2..cea26cd 100755 --- a/up.sh +++ b/up.sh @@ -9,3 +9,8 @@ sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y if ! [ $skip_flatpak ]; then flatpak update -y fi + +# if $skip_flatpak is set in config file +if ! [ $skip_snap ]; then + sudo snap refresh +fi