Commit 9e650a4c authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm full-upgrade: add update for flatpak and snap packages

parent eab00010
......@@ -30,6 +30,16 @@ epm_full_upgrade()
[ -n "$quiet" ] || echo
docmd epm play --update all || fatal "updating of applications installed via epm play is failed."
if which flatpak 2>/dev/null >/dev/null ; then
[ -n "$quiet" ] || echo
docmd flatpak update
fi
if which snap 2>/dev/null >/dev/null ; then
[ -n "$quiet" ] || echo
sudocmd snap refresh
fi
[ -n "$quiet" ] || echo
docmd epm clean
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment