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

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

commit b68ac52925c34e3978ca8a14b5e0fa4db50ccdce
Author: Simon McVittie <[email protected]>
Date:   Wed Jan 21 09:52:09 2015 +0000

    QuakeGameData: cope with packages that don't install anything
---
 lib/game_data_packager/games/quake.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/game_data_packager/games/quake.py 
b/lib/game_data_packager/games/quake.py
index bffb998..f168978 100644
--- a/lib/game_data_packager/games/quake.py
+++ b/lib/game_data_packager/games/quake.py
@@ -61,10 +61,12 @@ class QuakeGameData(GameData):
         for path in package.install:
             if path.startswith('hipnotic'):
                 detector = 'hipnotic-tryexec.sh'
+                break
             elif path.startswith('rogue'):
                 detector = 'rogue-tryexec.sh'
-            else:
-                return
+                break
+        else:
+            return
 
         with TemporaryUmask(0o022):
             quakedir = os.path.join(destdir, 'usr/share/games/quake')

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

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

Reply via email to