[game-data-packager] 01/02: innoextract: strip ?variation if unpack has not been overriden

Alexandre Detiste detiste-guest at moszumanska.debian.org
Sun Oct 4 20:46:27 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 a5d1ed66c4f88fc7a5066d83bdba59b84dd63ba9
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sun Oct 4 22:44:52 2015 +0200

    innoextract: strip ?variation if unpack has not been overriden
---
 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 68fb590..1080523 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1128,6 +1128,8 @@ class PackagingTask(object):
                                     i = prefix + i
                                 if suffix and i.endswith(suffix):
                                     i = i[:len(i)-len(suffix)]
+                                if 'unpack' not in provider.unpack:
+                                    i = i.split('?')[0]
                                 cmdline.append(i)
                         subprocess.check_call(cmdline)
                         # for at least Theme Hospital the files we want are

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