summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-09-23 10:46:38 -0700
committerZac Medico <zmedico@gentoo.org>2011-09-23 10:46:38 -0700
commit6f4a5ef478b76ac24e6cd54a38728415fe852277 (patch)
tree03b79682e78b7d33cd5b9911b2346af0b5b3294c
parentdd7c57ecb90949ce3306394cfe262566b87351ca (diff)
downloadportage-6f4a5ef478b76ac24e6cd54a38728415fe852277.tar.gz
portage-6f4a5ef478b76ac24e6cd54a38728415fe852277.tar.bz2
portage-6f4a5ef478b76ac24e6cd54a38728415fe852277.zip
Revert "unpack: handle non-gz files from deb2targz"
This reverts commit dd7c57ecb90949ce3306394cfe262566b87351ca. We'll do this in a new EAPI, as discussed in bug #384147.
-rw-r--r--bin/phase-helpers.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
index ab597ffa7..a033fa837 100644
--- a/bin/phase-helpers.sh
+++ b/bin/phase-helpers.sh
@@ -340,11 +340,7 @@ unpack() {
# doesn't inadvertently install it.
rm -f "$y"
fi
- local tarfile
- for tarfile in "${y%.deb}".tar.* ; do
- mv -f "${tarfile}" data.tar.${tarfile##*.} || \
- die "$myfail"
- done
+ mv -f "${y%.deb}".tar.gz data.tar.gz || die "$myfail"
else
ar x "$srcdir$x" || die "$myfail"
fi