[game-data-packager] 01/01: arch: fix 'license =' tag

Alexandre Detiste detiste-guest at moszumanska.debian.org
Thu Jan 7 13:10:26 UTC 2016


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 ae8d54d55a774a960f8adfec47db44d1395cf77b
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Thu Jan 7 14:09:40 2016 +0100

    arch: fix 'license =' tag
---
 game_data_packager/build.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 4852b27..7063265 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1443,7 +1443,8 @@ class PackagingTask(object):
             pkginfo.write('packager = Alexandre Detiste <alexandre at detiste.be>\n')
             pkginfo.write('size = %i\n' % size)
             pkginfo.write('arch = %s\n' % arch)
-            pkginfo.write('license = Commercial\n')
+            if os.path.isdir(os.path.join(destdir, 'usr/share/licenses')):
+                pkginfo.write('license = custom\n')
             pkginfo.write('group = games\n')
             if package.expansion_for:
                 pkginfo.write('depend = %s\n' % package.expansion_for)

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