[game-data-packager] 01/01: look_for_engines() only when "dpkg -i" is going to be called

Alexandre Detiste detiste-guest at moszumanska.debian.org
Wed Jul 15 00:11:39 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 4e34bc9c05dcc60f237167914562a3ec0218d1ee
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Wed Jul 15 02:10:37 2015 +0200

    look_for_engines() only when "dpkg -i" is going to be called
---
 game_data_packager/__init__.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 34c46cc..0684a99 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -2504,7 +2504,8 @@ class GameData(object):
             # a demo if we have its corresponding full game
             packages = set(self.packages.values())
 
-        self.look_for_engines(packages, force=args.force)
+        if args.install:
+            self.look_for_engines(packages, force=args.force)
 
         self.look_for_files(paths=args.paths, search=args.search,
                 packages=packages)

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