From 2d8bf390ff21d826d192e5f246468329c9f7bb4c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Oct 2011 17:09:28 -0400 Subject: Improve error message when a decompressor is not available, to indicate which package has been built with bzip today. Closes: #644719 --- debian/changelog | 8 ++++++++ functions | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index db63bb1..79d943e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +debootstrap (1.0.37) UNRELEASED; urgency=low + + * Improve error message when a decompressor is not available, + to indicate which package has been built with bzip today. + Closes: #644719 + + -- Joey Hess Sat, 08 Oct 2011 17:07:53 -0400 + debootstrap (1.0.36) unstable; urgency=low * Guess host OS based on uname for non-Debian systems. Closes: #637363 diff --git a/functions b/functions index 44a071d..2cafedb 100644 --- a/functions +++ b/functions @@ -818,7 +818,7 @@ extract_ar_deb_data () { if type $cat_cmd >/dev/null 2>&1; then ar -p "$pkg" "$tarball" | $cat_cmd | tar -xf - else - error 1 UNPACKCMDUNVL "The $cat_cmd command is not available on the system" + error 1 UNPACKCMDUNVL "Extracting %s requires the %s command, which is not available" "$pkg" "$cat_cmd" fi } -- cgit v0.12