Make this work with missing dirs.

Submitted by:	jkh
This commit is contained in:
jkh 1994-09-08 04:17:57 +00:00
parent 066f92c619
commit 0264427a62

View File

@ -10,6 +10,9 @@ CATS= africa america areas arith asia babies bard chinese collectives \
HIDEGAME=hidegame
beforeinstall:
@if [ ! -d ${DESTDIR}/usr/share/games/quiz.db ]; then \
mkdir -p ${DESTDIR}/usr/share/games/quiz.db; \
fi
(cd ${.CURDIR}/datfiles; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${CATS} ${DESTDIR}/usr/share/games/quiz.db)