X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/1c934d2a90cf12ee63ab3bb06b57715ed0e33add..49e57291d78de2b583d6f2197ae6f9d9ff05e456:/debian/config.disorder-server diff --git a/debian/config.disorder-server b/debian/config.disorder-server index 8b368e9..9dc03be 100755 --- a/debian/config.disorder-server +++ b/debian/config.disorder-server @@ -22,11 +22,18 @@ set -e . /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/smtp_server || true db_input high disorder/mail_sender || true db_input high disorder/interface || true db_go || true