diff options
author | garbled <garbled@pkgsrc.org> | 1998-09-13 23:05:16 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1998-09-13 23:05:16 +0000 |
commit | 3c5586dd866bd463187d2ba20966bacdd6cf3dd6 (patch) | |
tree | bb7cfbc4242a34b69ddd6b2ce47d39712e0d6777 /games/battalion | |
parent | 512cf1aa71e67757e1d626104bb3c5ab7cdc35c5 (diff) | |
download | pkgsrc-3c5586dd866bd463187d2ba20966bacdd6cf3dd6.tar.gz |
Rethink this. Use cat >> instead of install to avoid wiping out the old
scorefile (if it exists)
Diffstat (limited to 'games/battalion')
-rw-r--r-- | games/battalion/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games/battalion/Makefile b/games/battalion/Makefile index 03944600944..4537a2309af 100644 --- a/games/battalion/Makefile +++ b/games/battalion/Makefile @@ -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 |