summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-10-08 17:09:28 -0400
committerJoey Hess <joey@kitenet.net>2011-10-08 17:09:45 -0400
commit2d8bf390ff21d826d192e5f246468329c9f7bb4c (patch)
treef5058b8219b0f356552ccd99f581f4915e579c89
parent3a3afbb72893f3c8161dd72ff4663cc9ec80e443 (diff)
downloaddebootstrap-2d8bf390ff21d826d192e5f246468329c9f7bb4c.tar.gz
Improve error message when a decompressor is not available, to indicate which package has been built with bzip today. Closes: #644719
-rw-r--r--debian/changelog8
-rw-r--r--functions2
2 files changed, 9 insertions, 1 deletions
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 <joeyh@debian.org> 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
}