update_check.sh: support for update_version (upstream version).

This commit is contained in:
Eivind Uggedal 2014-11-24 14:57:41 +00:00
parent 572646c459
commit 154c5cd605
3 changed files with 5 additions and 2 deletions

View file

@ -77,7 +77,7 @@ update_check() {
esac
done
if $consider; then
xbps-uhelper cmpver "$pkgname-${version}_1" \
xbps-uhelper cmpver "$pkgname-${update_version:-$version}_1" \
"$pkgname-$(printf %s "$found_version" | tr - .)_1"
if [ $? = 255 ]; then
echo "${pkgname}-${version} -> ${pkgname}-${found_version}"