diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-11-03 11:03:06 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-11-03 11:03:06 +0100 |
commit | 6404ece555af9fd6bc5fab58321a9622089d8110 (patch) | |
tree | f3facc0ecd302752177afdd5f7d04e8f422168f3 /mailman/mklist.example | |
parent | fdb341ed52d71642bae1d8d957321255cdf589f5 (diff) | |
parent | bf2cf9c38a59a291cc74e2910cf29ec04686e11a (diff) |
Merge branch 'master' of coreander:/srv/git/source.jones.dk/local-COMMON
Diffstat (limited to 'mailman/mklist.example')
-rwxr-xr-x | mailman/mklist.example | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mailman/mklist.example b/mailman/mklist.example new file mode 100755 index 0000000..5c30e77 --- /dev/null +++ b/mailman/mklist.example @@ -0,0 +1,31 @@ +#!/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" |