The following commit has been merged in the rott branch:
commit 333360d956deac9b1715761932ed3ee594f43cf2
Author: Jon Dowland <[email protected]>
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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to