Blame | Last modification | View Log | RSS feed
# shell include scriptZARAFA_LANG="${ZARAFA_USERSCRIPT_LOCALE:-${LC_MESSAGES:-en_US}}"PATH=/bin:/usr/local/bin:/usr/binexport ZARAFA_LANG PATHif [ -z "${ZARAFA_COMPANY_SCRIPTS}" ] ; thenexec >&2echo "Do not execute this script directly"exit 1fiif [ ! -d "${ZARAFA_COMPANY_SCRIPTS}" ] ; thenexec >&2echo "${ZARAFA_COMPANY_SCRIPTS} does not exist or is not a directory"exit 1fiif [ -z "${ZARAFA_COMPANY}" -a -z "${ZARAFA_COMPANYID}" ] ; thenexec >&2echo "ZARAFA_COMPANY and ZARAFA_COMPANYID is not set."exit 1fifind ${ZARAFA_COMPANY_SCRIPTS} -maxdepth 1 -type f -perm -u=x -not -name \*~ -not -name \#\* -not -name \*.rpm\* -not -name \*.bak -not -name \*.old -exec {} \;