16 lines
260 B
Bash
16 lines
260 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
PATH=/bin:/usr/sbin
|
|
LOGDIR=/var/log/murmur
|
|
RUNDIR=/var/run/murmur
|
|
DBDIR=/var/db/murmur
|
|
|
|
case $2 in
|
|
POST-INSTALL)
|
|
|
|
mkdir -m 750 ${LOGDIR} ${DBDIR} ${RUNDIR} 2> /dev/null
|
|
chown -R murmur:murmur ${LOGDIR} ${DBDIR} ${RUNDIR}
|
|
|
|
;;
|
|
esac
|