1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#! /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