Explorar o código

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

Serghey Rodin %!s(int64=9) %!d(string=hai) anos
pai
achega
2057b3ee95
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/v-list-sys-vesta-updates

+ 1 - 1
bin/v-list-sys-vesta-updates

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