aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-11-14 20:38:58 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-11-14 20:38:58 +0000
commitb9e08721682ba001fd8cc7fb1036bcb818259caf (patch)
treea97b95f9b795ee38e0cee37c5af32b56c9e81c11
parent635179144839fa31015fe85cd9226a655d217f03 (diff)
downloadpaludis-b9e08721682ba001fd8cc7fb1036bcb818259caf.tar.gz
paludis-b9e08721682ba001fd8cc7fb1036bcb818259caf.tar.xz
Support the epic piece of fail that is 7z. From: Maciej Grela
Fixes: ticket:673
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/unpack5
1 files changed, 5 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/utils/unpack b/paludis/repositories/e/ebuild/utils/unpack
index 7f60310..486c850 100755
--- a/paludis/repositories/e/ebuild/utils/unpack
+++ b/paludis/repositories/e/ebuild/utils/unpack
@@ -109,6 +109,11 @@ unpack_one()
lzma -dc "${1}" > ${UNPACKTODIR}/$(basename "${1%.*}" ) || die "Couldn't unpack ${1}"
;;
+ *.7z|*.7Z)
+ echo 7z x -y "${1}"
+ 7z x -y "${1}" || die "Couldn't unpack ${1}"
+ ;;
+
*)
if [[ -n "${PALUDIS_UNPACK_UNRECOGNISED_IS_FATAL}" ]] ; then
die "Don't know how to unpack ${x}"