Add Flatpak to upgrade_system

This commit is contained in:
Tony Blyler 2021-12-16 09:47:24 -05:00
parent 2146a3e797
commit d5182d4a7c

View file

@ -13,6 +13,11 @@ upgrade_system() {
;; ;;
'linux') 'linux')
# Flatpak (could be just about any distro)
if command -v flatpak &> /dev/null; then
flatpak update
fi
# Debian/Ubuntu # Debian/Ubuntu
if command -v apt &> /dev/null; then if command -v apt &> /dev/null; then
sudo sh -c 'apt update && apt upgrade' sudo sh -c 'apt update && apt upgrade'