Skip to content

Commit

Permalink
games-fps/duke3d-data: simplify unpack phase
Browse files Browse the repository at this point in the history
Apparently, unzip can handle the leading shell script fuzz just fine.
  • Loading branch information
Julian Ospald committed Aug 23, 2015
1 parent 4d89cd9 commit e82ca5e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e82ca5e

Please sign in to comment.