1
0
mirror of https://salsa.debian.org/games-team/bsdgames synced 2024-06-08 17:30:46 +00:00

Rename adventure to bsdgames-adventure

This commit is contained in:
Dr. Tobias Quathamer 2016-04-05 10:15:12 +02:00
parent 19a74bfe83
commit a980f6aec7
2 changed files with 8 additions and 1 deletions

2
debian/menu vendored
View File

@ -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" \

7
debian/rules vendored
View File

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