2
## 05_config_list_member_options.dpatch by Tollef Fog Heen <tfheen@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Make it possible to set new_member_options as well.
8
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
9
patch_opts="${patch_opts:--f --no-backup-if-mismatch ${2:+-d $2}}"
12
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
16
-patch) patch $patch_opts -p1 < $0;;
17
-unpatch) patch $patch_opts -p1 -R < $0;;
19
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
26
--- mailman-2.1.4.orig/bin/config_list
27
+++ mailman-2.1.4/bin/config_list
29
in mm_cfg.OPTINFO.items()
31
gui._setValue(mlist, k, validval, fakedoc)
32
+ # Ugly hack, but seems to be needed since
33
+ # new_member_options isn't really a number in gui.
34
+ # -- tfheen, 2003-12-06
35
+ if k == "new_member_options":
36
+ mlist.new_member_options = validval
37
# BAW: when to do gui._postValidate()???
39
if savelist and not checkonly: