X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/1c934d2a90cf12ee63ab3bb06b57715ed0e33add..8a82274bc46151a6b10fb621c3e2d5d12722a5e2:/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