[bsdgames] 06/10: Rename adventure to bsdgames-adventure
Tobias Quathamer
toddy at moszumanska.debian.org
Tue Apr 5 09:18:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
toddy pushed a commit to branch master
in repository bsdgames.
commit a980f6aec71efc96315abe811b55346265452edc
Author: Dr. Tobias Quathamer <toddy at debian.org>
Date: Tue Apr 5 10:15:12 2016 +0200
Rename adventure to bsdgames-adventure
---
debian/menu | 2 +-
debian/rules | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/menu b/debian/menu
index 61c59db..888475c 100644
--- a/debian/menu
+++ b/debian/menu
@@ -44,7 +44,7 @@
?package(bsdgames):needs="text" section="Games/Adventure" \
title="Phantasia" command="phantasia"
?package(bsdgames):needs="text" section="Games/Adventure" \
- title="Adventure" command="adventure"
+ title="BSD-Games Adventure" command="bsdgames-adventure"
?package(bsdgames):needs="text" section="Games/Puzzles" \
title="Hangman" command="hangman"
?package(bsdgames):needs="text" section="Games/Puzzles" \
diff --git a/debian/rules b/debian/rules
index 35dd5c9..bb6bad6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,13 @@ override_dh_installdocs:
debian/bsdgames/usr/share/games/bsdgames/phantasia/
cat COPYING >> debian/bsdgames/usr/share/doc/bsdgames/copyright
+override_dh_install:
+ dh_install
+ # Rename adventure to bsdgames-adventure to support the Debian
+ # update-alternatives system. See bug #802422.
+ mv debian/bsdgames/usr/games/adventure debian/bsdgames/usr/games/bsdgames-adventure
+ mv debian/bsdgames/usr/share/man/man6/adventure.6 debian/bsdgames/usr/share/man/man6/bsdgames-adventure.6
+
override_dh_fixperms:
dh_fixperms
chmod -R u+rw debian/bsdgames/usr/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/bsdgames.git
More information about the Pkg-games-commits
mailing list