[game-data-packager] 01/01: name correclty the Quake 2 'any' .debs

Alexandre Detiste detiste-guest at moszumanska.debian.org
Tue Sep 29 19:18:41 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 862959d477a2aa06407f63dc6d4d6559efdca038
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Tue Sep 29 21:17:54 2015 +0200

    name correclty the Quake 2 'any' .debs
---
 game_data_packager/__init__.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 1238127..5b2df76 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -3061,7 +3061,11 @@ class GameData(object):
         assert os.path.isdir(os.path.join(destdir, 'usr')), destdir
         assert os.path.isdir(os.path.join(destdir, 'DEBIAN')), destdir
 
-        deb_basename = '%s_%s_all.deb' % (package.name, package.version)
+        arch = package.architecture
+        if arch != 'all':
+            arch = self.get_architecture()
+
+        deb_basename = '%s_%s_%s.deb' % (package.name, package.version, arch)
 
         outfile = os.path.join(os.path.abspath(destination), 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