diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-03-16 03:54:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-03-16 03:54:54 +0000 |
commit | 8ec4fe45deeeb331c478a96ea494f035832dedb8 (patch) | |
tree | 9b63af5a5259ccf68b0a7562649a1b6bf07d4e13 | |
parent | 5c0c5217f1fd033a9749a10a3dfa71b3943e6d4d (diff) | |
download | portage-8ec4fe45deeeb331c478a96ea494f035832dedb8.tar.gz portage-8ec4fe45deeeb331c478a96ea494f035832dedb8.tar.bz2 portage-8ec4fe45deeeb331c478a96ea494f035832dedb8.zip |
add support for unpacking .tbz, .a, and .deb files
svn path=/main/trunk/; revision=2902
-rwxr-xr-x | bin/ebuild.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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." ;; |