freebsd-ports/net-mgmt/netxms/files/pkg-install.in
Sunpoet Po-Chuan Hsieh f6e625d365 - Update to 1.2.13
- Add netxms to UIDs and GIDs

Changes:	http://www.netxms.org/download/ChangeLog
PR:		ports/188406
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
2014-05-24 06:22:20 +00:00

18 lines
226 B
Bash

#! /bin/sh
# $FreeBSD$
PATH=/bin:/usr/sbin
TSHOME=${PKG_PREFIX}/share/netxms
USER=netxms
GROUP=${USER}
case "$2" in
PRE-INSTALL)
;;
POST-INSTALL)
chown -R ${USER}:${GROUP} ${TSHOME}
chmod -R u+w,o-rx ${TSHOME}
;;
esac