[game-data-packager] 02/03: make_template: do_one_deb(): ignore linkfarms in install_to heuristic

Alexandre Detiste detiste-guest at moszumanska.debian.org
Mon Apr 20 13:19:55 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 2ede2608820c7a569686952e5cc66e1f40348cb6
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Mon Apr 20 14:15:08 2015 +0200

    make_template: do_one_deb(): ignore linkfarms in install_to heuristic
---
 game_data_packager/make_template.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index 1f10680..369dab6 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -228,6 +228,7 @@ def do_one_deb(deb):
                     continue
 
                 if (name.startswith('usr/share/games/') and
+                        entry.isfile() and
                         package['install_to'] is None):
                     # assume this is the place
                     there = name[len('usr/share/games/'):]

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