diff options
author | ache <ache@FreeBSD.org> | 1997-09-24 01:27:26 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-09-24 01:27:26 +0000 |
commit | 0d91fed910f0a476a99075a11766437d070ae244 (patch) | |
tree | 5ca37394819fceef42745265e57359344ca2b390 /games/larn/Makefile | |
parent | ca54550bb7e50eb25c4f44e242c79153e0f91ed8 (diff) | |
download | FreeBSD-src-0d91fed910f0a476a99075a11766437d070ae244.zip FreeBSD-src-0d91fed910f0a476a99075a11766437d070ae244.tar.gz |
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
Diffstat (limited to 'games/larn/Makefile')
-rw-r--r-- | games/larn/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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 <bsd.prog.mk> |