blob: 15417f933ea7d45750762c56515d70ae6dc46808 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $NetBSD: INSTALL,v 1.1 2012/07/11 10:40:46 wiz Exp $
OCSIGEN_USER="@OCSIGEN_USER@"
OCSIGEN_GROUP="@OCSIGEN_GROUP@"
COMMANDPIPE="@VARBASE@/run/ocsigen_command"
case ${STAGE} in
POST-INSTALL)
${MKDIR} `dirname ${DESTDIR}${COMMANDPIPE}`
[ -p ${DESTDIR}${COMMANDPIPE} ] || \
{ mkfifo ${DESTDIR}${COMMANDPIPE}; \
${CHMOD} 660 ${DESTDIR}${COMMANDPIPE}; \
${CHOWN} -R ${OCSIGEN_USER}:${OCSIGEN_GROUP} ${DESTDIR}${COMMANDPIPE}; }
;;
esac
|