summaryrefslogtreecommitdiff
path: root/net/tor/INSTALL
blob: f107394c01692ac0229d144411167c2a825d3199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!@SH@
#
# $NetBSD: INSTALL,v 1.1 2005/02/14 18:51:58 jschauma Exp $

PKG_HOME="@PKG_HOME@"
TOR_USER="@TOR_USER@"
TOR_GROUP="@TOR_GROUP@"

case "${STAGE}" in
PRE-INSTALL)
    ${MKDIR} ${PKG_SYSCONFDIR}/tor
    ${MKDIR} -m 0700 ${PKG_HOME}
    ${CHOWN} ${TOR_USER}:${TOR_GROUP} ${PKG_HOME}
    ;;
esac