[game-data-packager] 01/01: make-template: ignore more GOG stuff

Alexandre Detiste detiste-guest at moszumanska.debian.org
Fri Oct 9 08:48:27 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 5fec5ed149d2eeb0df47023cfb7bebea5737c187
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri Oct 9 10:47:50 2015 +0200

    make-template: ignore more GOG stuff
---
 game_data_packager/make_template.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index beb886e..e3c4aaa 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -222,9 +222,11 @@ class GameData(object):
                     continue
                 elif is_dosbox(path):
                     has_dosbox = True
-                elif os.path.splitext(fn.lower())[1] in ('.exe', '.ovl', '.dll', '.bat', '.386'):
+                elif os.path.splitext(fn.lower())[1] in ('.exe', '.exe$0', '.ovl',
+                                                         '.dll', '.dll$0', '.bat', '.386'):
                     logger.warning('ignoring dos/windows binary %s' % fn)
-                elif out_name.startswith('goggame-') or out_name == 'webcache.zip':
+                elif out_name.startswith('goggame-') or out_name in ('webcache.zip',
+                                                                 'gog.ico', 'gfw_high.ico'):
                     logger.warning('ignoring GOG stuff %s' % fn)
                 elif os.path.islink(path):
                     self.package.setdefault('symlinks', {})[name] = os.path.realpath(path).lstrip('/')

-- 
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