From 4a337d1e9b001b1db2c50c9e2e951d4712513ee2 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Wed, 23 Aug 2023 16:25:03 +0200 Subject: [PATCH] Update now updates snap packages --- bin/update | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/update b/bin/update index cf7a315..4fd2a22 100755 --- a/bin/update +++ b/bin/update @@ -189,6 +189,11 @@ update-system() { fi fi + command -v snap > /dev/null 2>&1 + if [ $? -*eq 0 ]; then + echo $password | sudo -Sp "" snap refresh + fi + # Archlinux based systems command -v yay > /dev/null 2>&1