From: martin f. krafft Date: Thu, 28 Jan 2010 23:07:14 +0000 (+0100) Subject: support all new orig compressions X-Git-Url: https://git.madduck.net/code/mbuild.git/commitdiff_plain/043daa5db9c741c54c242d1c2fa2cfff820ff4a4 support all new orig compressions Signed-off-by: martin f. krafft --- 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}"