Rethink this. Use cat >> instead of install to avoid wiping out the old

scorefile (if it exists)
This commit is contained in:
garbled 1998-09-13 23:05:16 +00:00
parent 512cf1aa71
commit 3c5586dd86

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 1998/09/13 20:24:28 garbled Exp $
# $NetBSD: Makefile,v 1.7 1998/09/13 23:05:16 garbled Exp $
#
DISTNAME= battalion
@ -31,7 +31,9 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/battalion.sho ${PREFIX}/share/battalion/battalion.data
${INSTALL_MAN} ${WRKDIR}/battalionSUN4/battalion.man ${PREFIX}/man/man6/battalion.6
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/HELP/* ${PREFIX}/share/battalion/HELP
${INSTALL} -c -o root -g games -m 0664 /dev/null /var/games//battalion_hiscore
@cat /dev/null >>/var/games/battalion_hiscore
chown bin:games /var/games/battalion_hiscore
chmod 664 /var/games/battalion_hiscore
pre-clean:
@${RM} -rf ${WRKDIR}/battalionSUN4