[game-data-packager] 37/39: Fix preservation of .deb from YAML games now we install it ourselves

Simon McVittie smcv at debian.org
Sun Jan 11 01:52:25 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 052ee1f1a44434a06ceed5579fc8ce7f0df51211
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Jan 11 01:37:55 2015 +0000

    Fix preservation of .deb from YAML games now we install it ourselves
---
 lib/game_data_packager/__init__.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/game_data_packager/__init__.py b/lib/game_data_packager/__init__.py
index 3b9a6b3..a9aefc0 100644
--- a/lib/game_data_packager/__init__.py
+++ b/lib/game_data_packager/__init__.py
@@ -1120,7 +1120,7 @@ class GameData(object):
         logger.debug('package description:\n%s',
                 yaml.safe_dump(self.to_yaml()))
 
-        self.preserve_debs = getattr(args, 'preserve', False)
+        self.preserve_debs = (getattr(args, 'destination', None) is not None)
         self.install_debs = getattr(args, 'install', True)
         self.compress_deb = (self.compress_deb and
                 getattr(args, 'compress', True))
@@ -1225,8 +1225,6 @@ class GameData(object):
 
             if outdir:
                 outfile = os.path.join(os.path.abspath(outdir), deb_basename)
-                os.symlink(outfile, os.path.join(self.get_workdir(),
-                    deb_basename))
             else:
                 outfile = os.path.join(self.get_workdir(), deb_basename)
 

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