#!/bin/bash

. ${TOOLKIT}-functions.sh

module="egroupware"

# crea ed inserisce lista Allow in snippet config file di apache2
#
file=`filepath ku-$module.conf` || exit 1
allowed=`jtconf $module.allow` || exit_missing_define "$module.allow"

string=
for allow in $allowed
do
	string="$string	Allow from $allow\n"
done

sed -e "s#-ku-temp-tag-for-inserting-allow-ku-#$string#" $file > $file.tmp

exit 0
