pkgsrc/multimedia/mediatomb/INSTALL
jmcneill 2915008696 PR# pkg/40290: multimedia/mediatomb doesn't install example config.xml
* 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
2009-01-05 12:28:32 +00:00

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