update_check.sh: support for update_version (upstream version).
This commit is contained in:
parent
572646c459
commit
154c5cd605
3 changed files with 5 additions and 2 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue