From 8ec4fe45deeeb331c478a96ea494f035832dedb8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 16 Mar 2006 03:54:54 +0000 Subject: [PATCH] add support for unpacking .tbz, .a, and .deb files svn path=/main/trunk/; revision=2902 --- bin/ebuild.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 1402f71a4..26bd235e8 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -395,7 +395,7 @@ unpack() { tgz) tar xzf "${srcdir}${x}" ${tarvars} || die "$myfail" ;; - tbz2) + tbz|tbz2) bzip2 -dc "${srcdir}${x}" | tar xf - ${tarvars} assert "$myfail" ;; @@ -423,6 +423,9 @@ unpack() { LHa|LHA|lha|lzh) lha xqf "${srcdir}/${x}" || die "$myfail" ;; + a|deb) + ar x "${srcdir}/${x}" || die "$myfail" + ;; *) echo "unpack ${x}: file format not recognized. Ignoring." ;; -- 2.26.2