[game-data-packager] 12/12: runtime: Correct paths in /usr/share/doc
Simon McVittie
smcv at debian.org
Mon Jul 3 22:42:14 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 b8488bde267e7ed1387e5688cba5ae8d66ba5046
Author: Simon McVittie <smcv at debian.org>
Date: Mon Jul 3 22:49:42 2017 +0100
runtime: Correct paths in /usr/share/doc
---
runtime/gdp_launcher_base.py | 2 ++
runtime/launch-etqw-dedicated.yaml.in | 1 +
runtime/launch-quake-server.yaml.in | 1 +
runtime/launch-quake4-dedicated.yaml.in | 1 +
runtime/quakeX.missing-data.txt | 2 +-
5 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/runtime/gdp_launcher_base.py b/runtime/gdp_launcher_base.py
index adb24b3..cf00ba7 100755
--- a/runtime/gdp_launcher_base.py
+++ b/runtime/gdp_launcher_base.py
@@ -127,6 +127,7 @@ class Launcher:
self.id), encoding='utf-8'))
self.game = self.data.get('game', self.id)
+ self.package = self.data.get('package', self.id)
self.binary_only = self.data.get('binary_only', False)
logger.debug('Binary-only: %r', self.binary_only)
self.required_files = self.data['required_files']
@@ -452,6 +453,7 @@ class Launcher:
game=self.game,
id=self.id,
name=self.name,
+ package=self.package,
)
# strip single \n
text = text.replace('\n\n', '\r\r').replace('\n', ' ')
diff --git a/runtime/launch-etqw-dedicated.yaml.in b/runtime/launch-etqw-dedicated.yaml.in
index be3da30..834e6a8 100644
--- a/runtime/launch-etqw-dedicated.yaml.in
+++ b/runtime/launch-etqw-dedicated.yaml.in
@@ -1,4 +1,5 @@
---
+package: etqw-server
game: etqw
binary_only: true
engine: $prefix/lib/etqw/etqwded.x86
diff --git a/runtime/launch-quake-server.yaml.in b/runtime/launch-quake-server.yaml.in
index b6040b9..906ade3 100644
--- a/runtime/launch-quake-server.yaml.in
+++ b/runtime/launch-quake-server.yaml.in
@@ -1,4 +1,5 @@
---
+package: quake-server
game: quake
dot_directory: null
base_directories:
diff --git a/runtime/launch-quake4-dedicated.yaml.in b/runtime/launch-quake4-dedicated.yaml.in
index b468400..3913c85 100644
--- a/runtime/launch-quake4-dedicated.yaml.in
+++ b/runtime/launch-quake4-dedicated.yaml.in
@@ -1,4 +1,5 @@
---
+package: quake4-server
game: quake4
binary_only: true
engine: $prefix/lib/quake4/q4ded.x86
diff --git a/runtime/quakeX.missing-data.txt b/runtime/quakeX.missing-data.txt
index 1114753..1a087e8 100644
--- a/runtime/quakeX.missing-data.txt
+++ b/runtime/quakeX.missing-data.txt
@@ -14,5 +14,5 @@ game-data-packager -d ~/Downloads ${game} [PATH [PATH...]]
Generate game data packages in ~/Downloads to install later
For more details please run "game-data-packager ${game} --help"
-or see /usr/share/doc/${name}/README.${game}-data
+or see /usr/share/doc/${package}/README.${game}-data
or the game-data-packager(6) manual page.
--
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