projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0c521
)
add support for unpacking .tbz, .a, and .deb files
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 16 Mar 2006 03:54:54 +0000
(
03:54
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 16 Mar 2006 03:54:54 +0000
(
03:54
-0000)
svn path=/main/trunk/; revision=2902
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 1402f71a46acb498dd8af287d79db744b6e27987..26bd235e827dcd7b8cee03b67366fb5a6d2ceec0 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-395,7
+395,7
@@
unpack() {
tgz)
tar xzf "${srcdir}${x}" ${tarvars} || die "$myfail"
;;
- tbz2)
+ tbz
|tbz
2)
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."
;;