summaryrefslogtreecommitdiffstats
path: root/games/cribbage
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-24 04:00:29 +0000
committerache <ache@FreeBSD.org>1997-09-24 04:00:29 +0000
commitd41c14dad899ebfd9f5a9a84531b04d24de078be (patch)
tree20305ed7dc746d4a762faf7895b54bc39e9d3df7 /games/cribbage
parent9721b2de038cca03cf46c1b3404b754b7156bb88 (diff)
downloadFreeBSD-src-d41c14dad899ebfd9f5a9a84531b04d24de078be.zip
FreeBSD-src-d41c14dad899ebfd9f5a9a84531b04d24de078be.tar.gz
Beforeinstall scorefile to prevent it owned by first user who
run the game
Diffstat (limited to 'games/cribbage')
-rw-r--r--games/cribbage/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/cribbage/Makefile b/games/cribbage/Makefile
index 38e8ec4..a21ae20 100644
--- a/games/cribbage/Makefile
+++ b/games/cribbage/Makefile
@@ -10,5 +10,7 @@ HIDEGAME=hidegame
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${.CURDIR}/cribbage.n ${DESTDIR}${SHAREDIR}/games/cribbage.instr
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
+ ${DESTDIR}/var/games/criblog
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud