aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-27 18:30:07 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-27 18:30:07 +0000
commit38cf3f33e7fdf933b0ef8944114ec00fcc8ad2d3 (patch)
tree40ba3dfa30152dd6643cf07d753a02f110dfc020
parent6f856fa77afbb7f44787f718458080d91134a82c (diff)
downloadpaludis-38cf3f33e7fdf933b0ef8944114ec00fcc8ad2d3.tar.gz
paludis-38cf3f33e7fdf933b0ef8944114ec00fcc8ad2d3.tar.xz
Make unpack know how to extract .ar and .deb files
-rw-r--r--ebuild/unpack_functions.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/ebuild/unpack_functions.bash b/ebuild/unpack_functions.bash
index 6d5899a..4efbe6d 100644
--- a/ebuild/unpack_functions.bash
+++ b/ebuild/unpack_functions.bash
@@ -79,6 +79,11 @@ unpack_one()
lha xqf "${1}" || die "Couldn't unpack ${1}"
;;
+ *.a|*.deb)
+ echo ar x "${1}" 1&>2
+ ar x "${1}" 1>&2
+ ;;
+
*)
echo "Skipping unpack for ${1}"
;;