[game-data-packager] 01/03: make-template: wholy ignore /directx/ & /data.now/ redistribuables

Alexandre Detiste detiste-guest at moszumanska.debian.org
Fri Apr 24 10:01:33 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 1e9b300669fcd75ee656518c6e72ea540904888f
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri Apr 24 11:46:18 2015 +0200

    make-template: wholy ignore /directx/ & /data.now/ redistribuables
    
    don't pester user anymore about individual .exe/.dll found there
---
 game_data_packager/make_template.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index 369dab6..2372c6d 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -87,6 +87,15 @@ def do_one_dir(destdir,lower):
     has_dosbox = False
 
     for dirpath, dirnames, filenames in os.walk(destdir):
+        if dirpath.endswith('/directx'):
+            logger.warning('ignoring DirectX runtime at %s' % dirpath)
+            continue
+        if dirpath.endswith('/data.now'):
+            logger.warning('ignoring Sold Out runtime at %s' % dirpath)
+            continue
+        if '/directx/' in dirpath or '/data.now/' in dirpath:
+            continue
+
         for fn in filenames:
             path = os.path.join(dirpath, fn)
 

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