X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/7c82ecb820073aa894f9b41442fdf910c19accdb..8b15f02d9c4041d45a310dce13f67b5a8bf11ca8:/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