[game-data-packager] 01/01: make_template: ignore runtimes found in GOG .deb's
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Tue Jun 9 17:29:34 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 fdea7db69dd9c33246aa856e8b9293d3d6ba7e29
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Tue Jun 9 19:28:48 2015 +0200
make_template: ignore runtimes found in GOG .deb's
---
game_data_packager/make_template.py | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index e1cbd63..8332fb7 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -111,7 +111,13 @@ def do_one_dir(destdir,lower):
if dir_l.endswith('/scummvm'):
logger.warning('ignoring ScummVM runtime at %s' % dirpath)
continue
- if '/directx/' in dir_l or '/data.now/' in dir_l:
+ if dir_l.endswith('/dosbox'):
+ logger.warning('ignoring DOSBox runtime at %s' % dirpath)
+ continue
+ if ('/directx/' in dir_l
+ or '/data.now/' in dir_l
+ or '/scummvm/' in dir_l
+ or '/dosbox/' in dir_l):
continue
for fn in filenames:
@@ -280,6 +286,11 @@ def do_one_deb(deb):
if name.startswith('./'):
name = name[2:]
+ if '/dosbox/' in name.lower():
+ continue
+ if '/scummvm/' in name.lower():
+ continue
+
if (name.startswith('usr/share/doc/') and
name.endswith('changelog.gz')):
continue
--
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