summaryrefslogtreecommitdiff
path: root/net/tor/INSTALL
blob: a43b3eafbd4f2aaceb86ecb80c1bba4f0b2c6aeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!@SH@
#
# $NetBSD: INSTALL,v 1.3 2008/08/01 17:23:46 wiz 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