autodist-upstream-updates: use package repository from distromatic files in html output
This commit is contained in:
parent
6d278e3a20
commit
ec39f8f7cb
@ -296,6 +296,7 @@ while read pkg ver alias; do
|
||||
set -- $pkgline
|
||||
pkgname=$1
|
||||
pkgver=$2
|
||||
pkgrep=$4
|
||||
version_find_bigger $pkgver ${ver/-/.}
|
||||
vercmp=$?
|
||||
[ "${vercmp}" != "2" -a "$needupdate_only" ] && continue
|
||||
@ -310,7 +311,7 @@ while read pkg ver alias; do
|
||||
verappend="(${nameadd}${veradd})"
|
||||
} || unset verappend
|
||||
if [ "$distromatic_html" = "1" ]; then
|
||||
echo "<a href=\"${DISTROMATIC_PREFIX}tag=${DISTROMATIC_REPOSITORY}&pkg=${JOB_PKGS[0]}.source\">${JOB_PKGS[0]} $pkgver</a> $verappend<br>"
|
||||
echo "<a href=\"${DISTROMATIC_PREFIX}tag=${pkgrep}&pkg=${JOB_PKGS[0]}.source\">${JOB_PKGS[0]} $pkgver</a> $verappend<br>"
|
||||
else
|
||||
echo "$pkg $pkgver ($ver)"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user