From 0d91fed910f0a476a99075a11766437d070ae244 Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 24 Sep 1997 01:27:26 +0000 Subject: Beforeinstall log and score files to prevent owning of them by first user who run game Slightly modify game to understand pre-created score file --- games/larn/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'games/larn/Makefile') diff --git a/games/larn/Makefile b/games/larn/Makefile index 12280cd..b31c431 100644 --- a/games/larn/Makefile +++ b/games/larn/Makefile @@ -65,5 +65,9 @@ beforeinstall: (cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \ -m ${NOBINMODE} larnmaze larnopts larn.help \ ${DESTDIR}${SHAREDIR}/games/larn) + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \ + ${DESTDIR}/var/games/larn/lscore12.0 + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 660 /dev/null \ + ${DESTDIR}/var/games/larn/llog12.0 .include -- cgit v1.1