[game-data-packager] 07/25: warn about broken expansion -> full game depedency
Simon McVittie
smcv at debian.org
Wed Feb 4 10:01:34 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 95ea030f01e515e2502bb147bdb8d80663d95693
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Tue Jan 27 13:40:17 2015 +0100
warn about broken expansion -> full game depedency
---
game_data_packager/__init__.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index d87bfa5..b32865b 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -2074,6 +2074,13 @@ class GameData(object):
'"%s" is also avaible', package.name, package.better_version)
continue
+ if (package.expansion_for
+ and self.packages[package.expansion_for] not in possible
+ and not os.path.exists('/usr/share/doc/' + package.expansion_for)):
+ logger.warning('will generate "%s" expansion, but full game '
+ '"%s" is not avaible nor already installed.',
+ package.name, package.expansion_for)
+
abort = False
if not build_demos:
for demo_for in package.demo_for:
--
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