fix from pmamak: If locally installed package version is higher than the repo version show it as up-to-date #565

This commit is contained in:
Serghey Rodin 2016-09-07 16:41:35 +03:00
parent 73c6f0fd32
commit 2057b3ee95

View file

@ -81,7 +81,7 @@ else
TIME=$(date -d @$pkg_date +"%T") TIME=$(date -d @$pkg_date +"%T")
fi fi
UPDATED='yes' UPDATED='yes'
if [ ! -z "$latest" ] && [ "$latest" != "vesta-$VERSION-$RELEASE" ]; then if [ ! -z "$latest" ] && [ "$latest" \> "vesta-$VERSION-$RELEASE" ]; then
UPDATED='no' UPDATED='no'
fi fi
data="NAME='vesta' VERSION='$VERSION' RELEASE='$RELEASE' ARCH='$ARCH'" data="NAME='vesta' VERSION='$VERSION' RELEASE='$RELEASE' ARCH='$ARCH'"