[game-data-packager] 01/11: search if innoextract is avaible before using it

Simon McVittie smcv at debian.org
Sun Jan 25 19:29:35 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 7005c13faef8fd38068503aa1afbb4dfac6ccf42
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sun Jan 25 01:33:54 2015 +0100

    search if innoextract is avaible before using it
---
 game_data_packager/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 23ee8e7..3e65fef 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -2203,7 +2203,7 @@ class GameData(object):
 
         fmt = wanted.unpack['format']
 
-        if fmt in ('id-shr-extract', 'lha', 'unzip'):
+        if fmt in ('id-shr-extract', 'lha', 'unzip', 'innoextract'):
             if which(fmt) is None:
                 logger.warning('cannot unpack "%s": tool "%s" is not ' +
                         'installed', wanted.name, fmt)

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