Add Flatpak to upgrade_system
This commit is contained in:
parent
2146a3e797
commit
d5182d4a7c
1 changed files with 5 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue