summaryrefslogtreecommitdiffstats
path: root/misc/amanda/pkg-install
blob: 569b7ddcdea838b5823ab473468dba3bbf53b1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

# $FreeBSD: /tmp/pcvs/ports/misc/amanda/Attic/pkg-install,v 1.3 2000-11-28 03:26:20 foxfair Exp $
USER=operator
GROUP=${USER}

case $2 in
POST-INSTALL)
	echo "Modifying permissions on ${PKG_PREFIX}/libexec/amanda"
	/usr/sbin/chown ${USER}:${GROUP} ${PKG_PREFIX}/libexec/amanda
	/bin/chmod 510 ${PKG_PREFIX}/libexec/amanda
	/usr/sbin/chown ${USER}:${GROUP} ${PKG_PREFIX}/libexec/amanda/*
	/bin/chmod 4550 ${PKG_PREFIX}/libexec/amanda/*
	;;
esac
OpenPOWER on IntegriCloud