diff options
-rwxr-xr-x | bin/reproducible_html_repo_stats.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh index c321f696..ad3ce536 100755 --- a/bin/reproducible_html_repo_stats.sh +++ b/bin/reproducible_html_repo_stats.sh @@ -45,7 +45,7 @@ for PKG in $SOURCES ; do fi done write_page "<td>$BET</td>" - SID=$(apt-cache showsrc $PKG | grep "^Version: "|cut -d " " -f2|xargs echo|sed 's# #<br />#g') + SID=$(rmadison -s sid $PKG | cut -d "|" -f2|xargs echo|sed 's# #<br />#g') write_page "<td>$SID</td>" for VERSION in ${VERSIONS} ; do if [ "${VERSION}" != "$BET" ] ; then |