summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-10-08 21:09:28 (GMT)
committerJoey Hess <joey@kitenet.net>2011-10-08 21:09:45 (GMT)
commit2d8bf390ff21d826d192e5f246468329c9f7bb4c (patch)
treef5058b8219b0f356552ccd99f581f4915e579c89 /functions
parent3a3afbb72893f3c8161dd72ff4663cc9ec80e443 (diff)
downloaddebootstrap-2d8bf390ff21d826d192e5f246468329c9f7bb4c.zip
debootstrap-2d8bf390ff21d826d192e5f246468329c9f7bb4c.tar.gz
debootstrap-2d8bf390ff21d826d192e5f246468329c9f7bb4c.tar.bz2
Improve error message when a decompressor is not available, to indicate which package has been built with bzip today. Closes: #644719
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
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
}