[SCM] Installer for game data files branch, rott, updated. 86c4002c57b43957f8cf8278cce4edfecaf53bb3
Jon Dowland
jmtd at debian.org
Wed Dec 16 17:34:56 UTC 2009
The following commit has been merged in the rott branch:
commit adba36b60028c50ee32edc5dcf3df19e012442cc
Author: Jon Dowland <jmtd at debian.org>
Date: Wed Dec 16 17:15:06 2009 +0000
rott: move stanza which calculates OUTFILE so -d works
diff --git a/supported/rott b/supported/rott
index 1da9fbb..9f9f90d 100644
--- a/supported/rott
+++ b/supported/rott
@@ -44,6 +44,15 @@ go() {
if [ "$CHECKSUM" != "$ZIPSUM" ]; then
echo "warning: checksum is not what we expected" >&2
fi
+
+ # XXX: this para copied from lib/doom-common. Should be generalised.
+ if [ "" = "$OUTDIR" ]; then
+ OUTFILE="$WORKDIR/out.deb"
+ else
+ OUTFILE=`unravel "$OUTDIR"`"/$DEBBASE"
+ fi
+ cp -p "$DEB" "$OUTFILE"
+
oldpwd=`pwd`
cd "$WORKDIR"
@@ -60,14 +69,6 @@ go() {
ROTT.EXE ROTTHELP.EXE ROTTIPX.EXE
ROTTSER.EXE SETUP.EXE SNDSETUP.EXE"
- # XXX: this para copied from lib/doom-common. Should be generalised.
- if [ "" = "$OUTDIR" ]; then
- OUTFILE="$WORKDIR/out.deb"
- else
- OUTFILE=`unravel "$OUTDIR"`"/$DEBBASE"
- fi
- cp -p "$DEB" "$OUTFILE"
-
# XXX: we have to re-implement most of slipstream() here, due
# to the way we use it
slipstream_permcheck "$OUTFILE"
--
Installer for game data files
More information about the Pkg-games-commits
mailing list