Commit 891052b6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play --update: skip updating if the package is on hold (see epm mark --help)

parent 62d3ecf8
......@@ -124,6 +124,10 @@ case "$1" in
echo "Skipping update of $PKGNAME (package is not installed)"
exit
fi
if epm mark showhold | grep -q "^$PKGNAME$" ; then
echo "Skipping update of $PKGNAME (package is on hold, see '# epm mark showhold')"
exit
fi
pkgver="$(epm print version for package $PKGNAME)"
latestpkgver="$(get_latest_version $PKGNAME)"
# ignore update if have no latest package version or the latest package version no more than installed one
......
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