From e82ca5e038a73dd4c154ed48db74beca1532f342 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 23 Aug 2015 22:24:12 +0200 Subject: [PATCH] games-fps/duke3d-data: simplify unpack phase Apparently, unzip can handle the leading shell script fuzz just fine. --- games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild index e57d6ef5afea..4be3b5b1c5e3 100644 --- a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild +++ b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild @@ -44,12 +44,7 @@ src_unpack() { die "Error locating data files."; fi else - dd \ - ibs="$(head -n 519 "${DISTDIR}/${GOG_FILE}" | wc -c | tr -d ' ')" \ - skip=1 \ - if="${DISTDIR}/${GOG_FILE}" \ - of="${T}"/${GOG_FILE}.zip || die - unpack_zip "${T}"/${GOG_FILE}.zip + unpack_zip "${DISTDIR}"/${GOG_FILE} cd data/noarch/data || die # convert to lowercase -- 2.26.2