From d5182d4a7cf58e697a21310360f379573ef52995 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Thu, 16 Dec 2021 09:47:24 -0500 Subject: [PATCH] Add Flatpak to upgrade_system --- home/.zshrc.d/upgrade_system.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/.zshrc.d/upgrade_system.sh b/home/.zshrc.d/upgrade_system.sh index 8537e85..8111ad8 100755 --- a/home/.zshrc.d/upgrade_system.sh +++ b/home/.zshrc.d/upgrade_system.sh @@ -13,6 +13,11 @@ upgrade_system() { ;; 'linux') + # Flatpak (could be just about any distro) + if command -v flatpak &> /dev/null; then + flatpak update + fi + # Debian/Ubuntu if command -v apt &> /dev/null; then sudo sh -c 'apt update && apt upgrade'