[SCM] Installer for game data files branch, rott, updated. dcfa52fa9a59258e0b3152c8850168dd8fdcde42

Jon Dowland jmtd at debian.org
Thu Mar 25 14:35:15 UTC 2010


The following commit has been merged in the rott branch:
commit 9e54c2ae53c6e3416926e652112b241829c7a943
Author: Jon Dowland <jmtd at debian.org>
Date:   Thu Mar 25 12:14:59 2010 +0000

    remove if/else bit from rott

diff --git a/supported/rott b/supported/rott
index 79cb167..feb4855 100644
--- a/supported/rott
+++ b/supported/rott
@@ -49,18 +49,7 @@ checksum() {
 }
 
 DEBBASE="rott-data_${GAME_PACKAGE_VERSION}_all.deb"
-
-# XXX: should be in lib/game-data-package-shared
-DATADIR="/usr/share/games/game-data-packager"
-
-SHAREDIR="usr/share/games/rott"
-
-if [ -f "$PWD/$DEBBASE" ]; then
-	DEB="$PWD/$DEBBASE"
-else
-	DEB="$DATADIR/$DEBBASE"
-fi
-
+DEB="$DATADIR/$DEBBASE"
 
 go() {
 	verify_args "$@"
@@ -102,7 +91,7 @@ go() {
         # 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"
+        slipstream_file "$file" "$DATADIR/$file"
     done
     slipstream_file "VENDOR.DOC" "usr/share/doc/rott-data/VENDOR.DOC"
     slipstream_instsize

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list