2915008696
* Allow for rc.conf to override the user and group that the mediatomb service uses. * Install example config.xml to /usr/pkg/share/examples/mediatomb * Don't clobber permissions on /var/mediatomb in PRE-INSTALL script * Install an xdg menu shortcut that points to the mediatomb 'bookmark' html page; since mediatomb selects a random port number at startup, this is a quick way to connect to the local server without having to check the log files to see what port was used this time. * Bump PKGREVISION
16 lines
351 B
Text
16 lines
351 B
Text
#!@SH@
|
|
#
|
|
# $NetBSD: INSTALL,v 1.2 2009/01/05 12:28:32 jmcneill Exp $
|
|
|
|
PKG_HOME="@PKG_HOME@"
|
|
MEDIATOMB_USER="@MEDIATOMB_USER@"
|
|
MEDIATOMB_GROUP="@MEDIATOMB_GROUP@"
|
|
|
|
case "${STAGE}" in
|
|
PRE-INSTALL)
|
|
if [ ! -d ${PKG_HOME} ]; then
|
|
${MKDIR} -m 0755 ${PKG_HOME}
|
|
${CHOWN} ${MEDIATOMB_USER}:${MEDIATOMB_GROUP} ${PKG_HOME}
|
|
fi
|
|
;;
|
|
esac
|