[game-data-packager] 12/14: make-template -e: also consider /usr/local/share

Simon McVittie smcv at debian.org
Sun Feb 15 15:25:40 UTC 2015


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 1049bed1879b07e9c852e341820205a393dc1f57
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sat Feb 14 17:53:45 2015 +0100

    make-template -e: also consider /usr/local/share
    
    some upstream games are games are not FHS compliant
---
 game_data_packager/make_template.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index 11523d2..556aaac 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -282,7 +282,7 @@ def do_one_exec(pgm,lower):
                 continue
             file = line.split('"')[1]
             if (not file.startswith('/usr/share/games')
-              and not file.startswith('/usr/local/games')):
+              and not file.startswith('/usr/local/')):
                 continue
             if 'ENOENT' in line:
                missing.add(file)

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