[game-data-packager] 21/25: never attempt to compress .ogg files

Simon McVittie smcv at debian.org
Wed Feb 4 10:01:36 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 94046f48ac4bc3c47611971760a088dd6f12ee06
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sat Jan 31 22:47:29 2015 +0100

    never attempt to compress .ogg files
    
    case: quake-music_40_all.deb
    88304880 xz compressed
    88771824 not xz compressed
    -> less than 0.5% difference
---
 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 6e6a6b1..d8d1133 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -2212,7 +2212,7 @@ class GameData(object):
 
         # only compress if the caller says we should and the YAML
         # says it's worthwhile
-        if compress and self.compress_deb:
+        if compress and self.compress_deb and not package.rip_cd:
             dpkg_deb_args = []
         else:
             dpkg_deb_args = ['-Znone']

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