From fff852f15dc8a26cc4e6097f27d15a7a4afe6e5b Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Thu, 16 Feb 2023 16:49:20 +0100 Subject: [PATCH] Always refresh package repos --- scripts/.local/bin/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/.local/bin/update.sh b/scripts/.local/bin/update.sh index c447ae0..72d3ec3 100755 --- a/scripts/.local/bin/update.sh +++ b/scripts/.local/bin/update.sh @@ -1,7 +1,7 @@ #!/usr/bin/env dash -[ "$(lsb_release -si)" = "Artix" ] && paru -[ "$(lsb_release -si)" = "Fedora" ] && sudo dnf upgrade +[ "$(lsb_release -si)" = "Artix" ] && paru -Syu +[ "$(lsb_release -si)" = "Fedora" ] && sudo dnf --refresh upgrade echo command -v flatpak >/dev/null 2>&1 &&