summaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
authorjosch <j.schauer@email.de>2014-12-16 08:24:59 +0100
committerHolger Levsen <holger@layer-acht.org>2014-12-16 12:49:36 +0100
commite4a29f3ee3f4a1cad9ac75862ecff713164f3f12 (patch)
tree8edb6d56dc4154193a2dd1e5c7b28d2d4f510f34 /setup.sh
parent231acc059f76e930937cfa2104ac5e012ea833d0 (diff)
downloadjenkins.debian.net-e4a29f3ee3f4a1cad9ac75862ecff713164f3f12.tar.xz
use dpkg-deb /dev/stdin instead of arpy
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.sh b/setup.sh
index 5ac3b2c8..6981a813 100755
--- a/setup.sh
+++ b/setup.sh
@@ -72,9 +72,9 @@ curl "http://binarycontrol.debian.net/?q=&path=%2Ftriggers%24&format=pkglist" \
| while read pkg url; do
echo "working on $pkg..." >&2
mkdir DEBIAN
- curl --location --silent "$url" \
- | ./extract_binary_control.py \
- | tar -C "DEBIAN" --exclude=./md5sums -xz
+ curl --retry 2 --location --silent "$url" \
+ | dpkg-deb --ctrl-tarfile /dev/stdin \
+ | tar -C "DEBIAN" --exclude=./md5sums -x
if [ ! -f DEBIAN/triggers ]; then
rm -r DEBIAN
continue