chiark / gitweb /
Macroize submit buttons so we can mess with them more easily
[disorder] / debian / config.disorder-server
index 8b368e9ba5fc81768624aaf38845e6024cbc6083..9dc03be7e809cf9fb72521cee23f3be46b445976 100755 (executable)
@@ -22,11 +22,18 @@ set -e
 
 . /usr/share/debconf/confmodule
 
 
 . /usr/share/debconf/confmodule
 
+# If we don't have any preconception about the local character encoding then
+# try to use the system one.
+db_get disorder/encoding || true
+if test "x$RET" = x; then
+  eval `locale -k charmap`
+  db_set disorder/encoding "$charmap"
+fi
+
 db_input high disorder/roots || true
 db_input high disorder/encoding || true
 db_input high disorder/port || true
 db_input medium disorder/scratches || true
 db_input high disorder/roots || true
 db_input high disorder/encoding || true
 db_input high disorder/port || true
 db_input medium disorder/scratches || true
-db_input high disorder/smtp_server || true
 db_input high disorder/mail_sender || true
 db_input high disorder/interface || true
 db_go || true
 db_input high disorder/mail_sender || true
 db_input high disorder/interface || true
 db_go || true