diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-02-23 18:08:13 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-23 18:08:13 +0100 |
commit | a3d7a898d457c1a7ff35315844a17273da1b2c59 (patch) | |
tree | 433a0dbc7eca9fa79399323513c842a7b37e81e8 | |
parent | 494d848f730dfddd7b01862312f9aa12f48792b5 (diff) | |
download | jenkins.debian.net-a3d7a898d457c1a7ff35315844a17273da1b2c59.tar.xz |
reproducible: use rmadison instead of apt-cache
-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 |