#!/bin/sh [ $# != 2 ] && exit 1 [ -z "${PKG_PREFIX}" ] && exit 1 [ -n "${BATCH}" ] && exit 0 PKG_NAME=$1 PKG_ACTION=$2 MAILUSER=mailnull SPOOLDIR=/var/spool/MIMEDefang QUARANTINEDIR=/var/spool/MD-Quarantine case "$PKG_ACTION" in POST-INSTALL) if [ ! -d ${SPOOLDIR} ]; then mkdir -p ${SPOOLDIR} chown ${MAILUSER}:${MAILUSER} ${SPOOLDIR} chmod 710 ${SPOOLDIR} fi if [ ! -d ${QUARANTINEDIR} ]; then mkdir -p ${QUARANTINEDIR} chown ${MAILUSER}:${MAILUSER} ${QUARANTINEDIR} chmod 700 ${QUARANTINEDIR} fi ;; PRE-INSTALL|POST-DEINSTALL|DEINSTALL) ;; *) echo "usage: $0 {PRE-INSTALL|POST-INSTALL|DEINSTALL|POST-DEINSTALL}" >&2 exit 1 ;; esac exit 0 orts-graphics' title='freebsd-ports-graphics Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Update from 4.9 to 4.9.1danilo2013-12-193-36/+23
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-21