summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-21 04:45:48 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-21 04:45:48 +0000
commitf956d02d5bca822d84544078a3e215c3d88ee399 (patch)
tree182bc0db35cdbda4291eb77a073dbe6d90e1b338 /games-server/mtavc
parentfix DESCRIPTION (diff)
downloadgentoo-2-f956d02d5bca822d84544078a3e215c3d88ee399.tar.gz
gentoo-2-f956d02d5bca822d84544078a3e215c3d88ee399.tar.bz2
gentoo-2-f956d02d5bca822d84544078a3e215c3d88ee399.zip
move config files to /etc/games
Diffstat (limited to 'games-server/mtavc')
-rw-r--r--games-server/mtavc/mtavc-0.2.0.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/games-server/mtavc/mtavc-0.2.0.ebuild b/games-server/mtavc/mtavc-0.2.0.ebuild
index eb4d33627cbe..800022757f13 100644
--- a/games-server/mtavc/mtavc-0.2.0.ebuild
+++ b/games-server/mtavc/mtavc-0.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/mtavc/mtavc-0.2.0.ebuild,v 1.2 2003/09/21 04:36:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/mtavc/mtavc-0.2.0.ebuild,v 1.3 2003/09/21 04:45:48 vapier Exp $
inherit games eutils
@@ -37,11 +37,12 @@ src_install() {
exeinto ${dir}
doexe MTAServer
- insinto ${dir}
- doins banned.lst mtaserver.conf motd.txt
- insinto ${GAMES_SYSCONFDIR}
- doins mtaserver.conf
- dosym ${GAMES_SYSCONFDIR}/mtaserver.conf ${dir}/mtaserver.conf
+ insinto ${GAMES_SYSCONFDIR}/${PN}
+ local files="banned.lst mtaserver.conf motd.txt"
+ doins ${files}
+ for f in ${files} ; do
+ dosym ${GAMES_SYSCONFDIR}/${PN}/${f} ${dir}/${f}
+ done
dodoc readme.txt
prepgamesdirs