From 29a72a17cab85fa3f7116d021339239d0bbe359a Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 19 Mar 2024 13:23:30 +0200 Subject: [PATCH] deb-update.bash: set snap refresh.retain to 2 --- bash/deb-update.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index f5a929e..a8312e8 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -78,6 +78,9 @@ if hash flatpak 2>/dev/null; then fi if hash snap 2>/dev/null; then + # I don't want my systems full of old snaps + # > retain must be a number between 2 and 20, not "1" + snap set system refresh.retain=2 # Snap packages auto-update anyway though, but I like checking them while # doing everything else too snap refresh