Commit 73057bf2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

/etc/eepm/eepm.conf: add full_upgrade_no_{epm_play,flatpack,snap} to disable during full_upgrade

parent d6c36cfc
......@@ -27,17 +27,23 @@ epm_full_upgrade()
[ -n "$quiet" ] || echo
docmd epm update-kernel || fatal "updating of the kernel is failed."
[ -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
if [ -z "$full_upgrade_no_epm_play" ] ; then
[ -n "$quiet" ] || echo
docmd flatpak update
docmd epm play --update all || fatal "updating of applications installed via epm play is failed."
fi
if which snap 2>/dev/null >/dev/null ; then
[ -n "$quiet" ] || echo
sudocmd snap refresh
if [ -z "$full_upgrade_no_flatpack" ] ; then
if which flatpak 2>/dev/null >/dev/null ; then
[ -n "$quiet" ] || echo
docmd flatpak update
fi
fi
if [ -z "$full_upgrade_no_snap" ] ; then
if which snap 2>/dev/null >/dev/null ; then
[ -n "$quiet" ] || echo
sudocmd snap refresh
fi
fi
[ -n "$quiet" ] || echo
......
......@@ -21,3 +21,8 @@
#skip_missed=1
#show_command_only=1
#epm_cmd=
# Uncomment if you need skip some operations during full-upgrade
#full_upgrade_no_epm_play=1
#full_upgrade_no_flatpack=1
#full_upgrade_no_snap=1
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