Commit f22bd267 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm full-upgrade: skip snap if snap service is not running (ALT bug 45666)

parent f3fe0d21
...@@ -80,7 +80,7 @@ epm_full_upgrade() ...@@ -80,7 +80,7 @@ epm_full_upgrade()
fi fi
if [ -z "$full_upgrade_no_snap" ] ; then if [ -z "$full_upgrade_no_snap" ] ; then
if which snap 2>/dev/null >/dev/null ; then if which snap 2>/dev/null >/dev/null && serv snapd exists && serv snapd status ; then
[ -n "$quiet" ] || echo [ -n "$quiet" ] || echo
sudocmd snap refresh sudocmd snap refresh
fi fi
......
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