summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-24 00:17:13 +0000
committerache <ache@FreeBSD.org>1997-09-24 00:17:13 +0000
commitca54550bb7e50eb25c4f44e242c79153e0f91ed8 (patch)
tree5bfcfdffec0b9533651762c18dd8f241c149880b
parentfa23c77f0f1e034f3d2e49a09a331a6eae002592 (diff)
downloadFreeBSD-src-ca54550bb7e50eb25c4f44e242c79153e0f91ed8.zip
FreeBSD-src-ca54550bb7e50eb25c4f44e242c79153e0f91ed8.tar.gz
Install empty rogue.scores file to prevent it owned by
first user who run rogue
-rw-r--r--games/rogue/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/rogue/Makefile b/games/rogue/Makefile
index f901289..c0a038d 100644
--- a/games/rogue/Makefile
+++ b/games/rogue/Makefile
@@ -10,4 +10,8 @@ LDADD= -lcurses -ltermcap -lcompat
HIDEGAME=hidegame
MAN6= rogue.6
+beforeinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
+ ${DESTDIR}/var/games/rogue.scores
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud