Revert "unpack: handle non-gz files from deb2targz"
authorZac Medico <zmedico@gentoo.org>
Fri, 23 Sep 2011 17:46:38 +0000 (10:46 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 23 Sep 2011 17:46:38 +0000 (10:46 -0700)
This reverts commit dd7c57ecb90949ce3306394cfe262566b87351ca.
We'll do this in a new EAPI, as discussed in bug #384147.

bin/phase-helpers.sh

index ab597ffa7be3472fc5162d2c5471da3ec4606252..a033fa8374186ee19fde288975e1528155197557 100644 (file)
@@ -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