2d9fd9bdf9
PR: ports/157538 Submitted by: Chris Rees (utisoft@gmail.com) (me) Approved by: tabthorpe (co-mentor)
16 lines
218 B
Bash
16 lines
218 B
Bash
#! /bin/sh
|
|
|
|
# $FreeBSD$
|
|
|
|
PATH=/bin:/usr/sbin
|
|
TSHOME=${PKG_PREFIX}/lib/teamspeak_server
|
|
|
|
USER=teamspeak
|
|
GROUP=${USER}
|
|
|
|
case $2 in
|
|
POST-INSTALL)
|
|
chown -R ${USER}:${GROUP} ${TSHOME}
|
|
chmod -R u+w,o-rx ${TSHOME}
|
|
;;
|
|
esac
|