Commit e81b7a54 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play common: switch to update to latest known version

parent 0ca97ac7
......@@ -321,18 +321,18 @@ case "$1" in
if [ "$latestpkgver" = "$pkgver" ] ; then
echo "Latest available version of $PKGNAME $latestpkgver is already installed."
else
echo "Latest available version of $PKGNAME: $latestpkgver, but you a newer version installed: $pkgver."
echo "Latest available version of $PKGNAME: $latestpkgver, but you have a newer version installed: $pkgver."
fi
exit
fi
echo "Updating $PKGNAME from $pkgver to the latest available version (equal to $latestpkgver or newer) ..."
#if [ -n "$force" ] ; then
# echo "Updating $PKGNAME from $pkgver to latest available version ..."
#else
# echo "Updating $PKGNAME from $pkgver to $latestpkgver version ..."
# VERSION="$latestpkgver"
#fi
#echo "Updating $PKGNAME from $pkgver to the latest available version (equal to $latestpkgver or newer) ..."
if [ -n "$force" ] ; then
echo "Updating $PKGNAME from $pkgver to latest available version ..."
else
echo "Updating $PKGNAME from $pkgver to $latestpkgver version ..."
VERSION="$latestpkgver"
fi
fi
# pass to run play code
;;
......
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