[game-data-packager] 18/51: WantedFile: include doc, license in to_data
Simon McVittie
smcv at debian.org
Fri Dec 29 01:23:35 UTC 2017
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 a103e0d627ad304d878a7a5186ce58171d0083d1
Author: Simon McVittie <smcv at debian.org>
Date: Tue Dec 26 18:30:05 2017 +0000
WantedFile: include doc, license in to_data
Signed-off-by: Simon McVittie <smcv at debian.org>
---
game_data_packager/data.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/game_data_packager/data.py b/game_data_packager/data.py
index 3128594..59410a4 100644
--- a/game_data_packager/data.py
+++ b/game_data_packager/data.py
@@ -298,6 +298,13 @@ class WantedFile(HashedFile):
else:
ret[k] = v
+ for k in (
+ 'doc',
+ 'license',
+ ):
+ if getattr(self, k):
+ ret[k] = True
+
if self.install_as != self.filename:
ret['install_as'] = self.install_as
--
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