[game-data-packager] 02/02: innoextract: always show progress bar

Alexandre Detiste detiste-guest at moszumanska.debian.org
Fri Oct 9 13:36:01 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 f64ec75f39b32573311e420cb1bad468660981f4
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri Oct 9 15:30:21 2015 +0200

    innoextract: always show progress bar
    
    this doesn't check QUITE_LARGE on purpose,
    the game with the most archives is Zork Anthology, with 5, not that much;
    for most games only one archive is needed
---
 game_data_packager/build.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 5b40638..cb0c484 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -573,6 +573,7 @@ class PackagingTask(object):
                 args = ['-I', '/app'] if Version(version.split('-')[0]) >= Version('1.5') else []
                 if not self.verbose:
                     args.append('--silent')
+                    args.append('--progress')
                     logger.info('extracting %s (%d bytes) with InnoExtract...'
                                     % (basename, size))
                 tmpdir = os.path.join(self.get_workdir(), 'tmp',
@@ -1112,6 +1113,7 @@ class PackagingTask(object):
                                    os.path.abspath(found_name)]
                         if not self.verbose:
                             cmdline.append('--silent')
+                            cmdline.append('--progress')
                         version = subprocess.check_output(['innoextract', '-v', '-s'],
                                                           universal_newlines=True)
                         if Version(version.split('-')[0]) >= Version('1.5'):

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