freebsd-ports/misc/amanda/pkg-install
Foxfair Hu 018481a0ff PR: 23087
Upgrade amanda from 2.3.0 to 2.3.0.4, the final stable version of amanda.
Set the runnning uid as 'operator' , to synchronize with amanda24.
2000-11-28 03:26:24 +00:00

16 lines
456 B
Bash

#! /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