summaryrefslogtreecommitdiff
path: root/multimedia/mediatomb/INSTALL
blob: 648c69fd1a3239cc467763bccdab62e82b2207f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!@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