Sfoglia il codice sorgente

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

Serghey Rodin 9 anni fa
parent
commit
2057b3ee95
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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'"