From 043daa5db9c741c54c242d1c2fa2cfff820ff4a4 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 29 Jan 2010 00:07:14 +0100 Subject: [PATCH 1/1] support all new orig compressions Signed-off-by: martin f. krafft --- sbuild-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbuild-wrapper.sh b/sbuild-wrapper.sh index 9a58d88..c410dcb 100755 --- a/sbuild-wrapper.sh +++ b/sbuild-wrapper.sh @@ -125,7 +125,7 @@ dcmd "$dscfile_basename" | while read f; do test -f "$f" && continue case "$f" in - *.tar.gz) + *.tar.gz|*.tar.bz2|*.tar.lzma|*.tar.xz) last_version="$(apt-cache madison $packagename | sed -rne "s,.+(\<${upstream_version}[^[:space:]]+).*,\1,p")" echo "I: fetching missing tarball for $upstream_version (from $last_version)…" >&2 apt-get --tar-only --only-source source "${packagename}=${last_version}" -- 2.39.5