#!/bin/sh
# Example script demonstrating use of mklist.pl and skel files
# This script was once used at Homebase <http://Homebase.dk/>

set -e

. /etc/local-COMMON/mailman/mklist.inc

# Team 12 and newer is internationally oriented and mandate english
kpteams_da="`seq 1 11`"
kpteams_en="`seq 12 15` 15plus `seq 16 17`"

refreshlists
for kpteam in $kpteams_da; do
	mklist "kpt$kpteam" team "Kaospiloterne Team $kpteam" "da"
	mklist "kpt$kpteam-announce" team-announce "Kaospiloterne Team $kpteam vigtige annonceringer" "da"
	populatelist "kpt$kpteam-announce" `members "kpt$kpteam"`
done

refreshlists
for kpteam in $kpteams_en; do
	mklist "kpt$kpteam" team "Kaospilot Team $kpteam" "en"
	mklist "kpt$kpteam-announce" team-announce "Kaospilot Team $kpteam important anouncements" "en"
	populatelist "kpt$kpteam-announce" `members "kpt$kpteam"`
done

mklist "teknik" sig "Homebase teknisk drift og support" da
#mklist "event" sig "local events at Homebase for Homebase members"
#mklist "housing" sig "Homebase members needing or offering a place to live"
mklist "kpslam" team "Kaospilot student alumni"
#mklist "KPIStaff" private "Kaospilot Internation Staff"