[Pkg-mailman-hackers] Pkg-mailman commit - rev 57 - trunk/debian
Laszlo Boszormenyi
gcs-guest@haydn.debian.org
Tue, 13 Apr 2004 16:43:46 -0600
Author: gcs-guest
Date: 2004-04-13 16:43:43 -0600 (Tue, 13 Apr 2004)
New Revision: 57
Modified:
trunk/debian/config
trunk/debian/templates
Log:
Brown paper bag: really fix #224319, it was not a problem for our
config|postinst scripts, but Mailman still choke on the web pages as:
"Bug in Mailman version 2.1.4
We're sorry, we hit a bug!
[...]"
Now the site_languages screen re-spawned if the user deselects all options.
Strange, Siggy's force the used_languages works now, why I could not see it
before?
Modified: trunk/debian/config
===================================================================
--- trunk/debian/config 2004-04-12 22:45:50 UTC (rev 56)
+++ trunk/debian/config 2004-04-13 22:43:43 UTC (rev 57)
@@ -82,11 +82,14 @@
fi
fi
-db_input high mailman/site_languages || true
-# Let the db go, and ask the user, so we won't get back a stale setting
-db_go || true
-db_get mailman/site_languages && selected_languages=${RET}
-db_subst mailman/default_server_language site_languages "${selected_languages}"
+site_languages=""
+while [ -z "${site_languages}" ]; do
+ db_input high mailman/site_languages || true
+ # Let the db go, and ask the user, so we won't get back a stale setting
+ db_go || true
+ db_get mailman/site_languages && site_languages=${RET}
+done
+db_subst mailman/default_server_language site_languages "${site_languages}"
db_input high mailman/default_server_language || true
if [ -f "${crontab}" ]; then
Modified: trunk/debian/templates
===================================================================
--- trunk/debian/templates 2004-04-12 22:45:50 UTC (rev 56)
+++ trunk/debian/templates 2004-04-13 22:43:43 UTC (rev 57)
@@ -14,7 +14,8 @@
dpkg-reconfigure mailman.
.
NOTE: Languages enabled on existing mailing lists are forcibly re-
- enabled when deselected.
+ enabled when deselected and mailman needs at least one language for
+ displaying it's messages.
Template: mailman/used_languages
Type: string