[game-data-packager] 01/01: fix Quake 2 expansions

Alexandre Detiste detiste-guest at moszumanska.debian.org
Tue Sep 29 17:22:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit e5c484c0baccc484ba32b989a632212ec0f9224b
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Tue Sep 29 19:22:08 2015 +0200

    fix Quake 2 expansions
---
 debian/changelog                   | 1 +
 game_data_packager/games/quake2.py | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f9be857..37e696d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,7 @@ game-data-packager (43) UNRELEASED; urgency=medium
   * make-template mode: check innoextract version (Closes: #797550)
   * add support for the new Doom packages at GOG.com (Closes: #796995)
   * call 'lgogdownloader' automatically (Closes: #782205)
+  * fix Quake2 exp. "Ground Zero" & "Reckoning" (Closes: #799955 #799955)
 
   [ Stephen Kitt ]
   * Add Steam path for The 7th Guest.
diff --git a/game_data_packager/games/quake2.py b/game_data_packager/games/quake2.py
index 5900ace..adca3a6 100644
--- a/game_data_packager/games/quake2.py
+++ b/game_data_packager/games/quake2.py
@@ -30,12 +30,13 @@ class Quake2GameData(GameData):
         if not super(Quake2GameData, self).fill_dest_dir(package, destdir):
             return False
 
-        if package.name not in ('quake2-rogue', 'quake2-xatrix'):
+        if package.name not in ('quake2-reckoning-data',
+                                'quake2-groundzero-data'):
             return True
 
         subdir = {
-            'quake2-rogue': 'rogue',
-            'quake2-xatrix': 'xatrix',
+            'quake2-groundzero-data': 'rogue',
+            'quake2-reckoning-data': 'xatrix',
         }[package.name]
 
         installdir = os.path.join(destdir, 'usr', 'share', 'games', 'quake2')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list