[SCM] Installer for game data files branch, rott, updated. 86c4002c57b43957f8cf8278cce4edfecaf53bb3
Jon Dowland
jmtd at debian.org
Wed Dec 16 17:34:52 UTC 2009
The following commit has been merged in the rott branch:
commit 333360d956deac9b1715761932ed3ee594f43cf2
Author: Jon Dowland <jmtd at debian.org>
Date: Wed Dec 16 16:16:06 2009 +0000
rott: rework use of slipstream for multiple files
diff --git a/supported/rott b/supported/rott
index d647b1f..367bd68 100644
--- a/supported/rott
+++ b/supported/rott
@@ -68,11 +68,21 @@ go() {
fi
cp -p "$DEB" "$OUTFILE"
- # XXX: files are treated as being relative to $WORKDIR, hence
- # unpacking straight into it. Might be nicer to tidy away the
- # unpack into a subdir (no risk of stamping over another part
- # of g-d-p's operation) and specify full paths
- slipstream "$OUTFILE" "$SHAREDIR" $files
+ # XXX: we have to re-implement most of slipstream() here, due
+ # to the way we use it
+ slipstream_permcheck "$DEB"
+ slipstream_unpack "$DEB"
+ for file in $files; do
+ # XXX: files are treated as being relative to $WORKDIR, hence
+ # unpacking straight into it. Might be nicer to tidy away the
+ # unpack into a subdir (no risk of stamping over another part
+ # of g-d-p's operation) and specify full paths
+ slipstream_file "$file" "$SHAREDIR/$file"
+ done
+ slipstream_instsize
+ slipstream_repack "$DEB"
+ slipstream_cleanup
+
rm $files
cd "$oldpwd"
--
Installer for game data files
More information about the Pkg-games-commits
mailing list