Subversion Repositories configs

Rev

Blame | Last modification | View Log | RSS feed

#! /bin/sh

# Zarafa script that is executed whenever a new company is deleted from
# the external user source, such as an Active Directory tree or
# /etc/passwd.

# This script executes all scripts in /etc/zarafa/userscripts/deletecompany.d
# using find.  The environment variable ZARAFA_COMPANY is set, but
# beware that this string can contain any characters, so take heed to
# correct quoting.

if [ -f /etc/sysconfig/zarafa ]; then
  . /etc/sysconfig/zarafa
elif [ -f /etc/default/zarafa ]; then
  . /etc/default/zarafa
fi

ZARAFA_COMPANY_SCRIPTS=/etc/zarafa/userscripts/deletecompany.d
. /etc/zarafa/userscripts/companies_common.sh