summaryrefslogtreecommitdiffstats
path: root/upstream/debian-bookworm/man8/update-locale.8
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/debian-bookworm/man8/update-locale.8')
-rw-r--r--upstream/debian-bookworm/man8/update-locale.849
1 files changed, 49 insertions, 0 deletions
diff --git a/upstream/debian-bookworm/man8/update-locale.8 b/upstream/debian-bookworm/man8/update-locale.8
new file mode 100644
index 00000000..d87446b3
--- /dev/null
+++ b/upstream/debian-bookworm/man8/update-locale.8
@@ -0,0 +1,49 @@
+.TH UPDATE-LOCALE 8 "April 2006" "Debian GNU/Linux"
+.SH "NAME"
+.LP
+update-locale \- Modify global locale settings
+.SH "SYNTAX"
+.LP
+update-locale
+.RI [ OPTIONS ]
+[\fIvar\fP=\fIlocale\fP | \fIvar\fP]
+[...]
+.SH "DESCRIPTION"
+.LP
+This program can be called by maintainer scripts when Debian packages are
+installed or removed, it updates the \fI/etc/default/locale\fP file to
+reflect changes in system configuration related to global locale settings.
+When variables have no value assigned, they are removed from the locale
+file.
+Some basic checks are performed to ensure that requested settings are valid.
+.SH "OPTIONS"
+.TP
+.B \-\-help
+Display an help message and exit.
+.TP
+.B \-\-reset
+Variables which are not set on command-line are cleared out.
+.TP
+.BI \-\-locale\-file " FILE"
+Define file containing locale variables. (Default:
+.IR /etc/default/locale )
+.TP
+.B \-\-no\-checks
+Do not perform sanity checks on locale variables.
+.SH "EXAMPLE"
+.nf
+The command
+.ft B
+ update-locale LANG=en_CA.UTF-8 LANGUAGE
+.ft R
+sets \fBLANG\fP to \fBen_CA.UTF-8\fP and removes definitions for \fBLANGUAGE\fP.
+.SH "FILES"
+.TP
+.I /etc/default/locale
+File where global locale settings are stored.
+.SH "AUTHOR"
+.LP
+Denis Barbier <barbier@linuxfr.org>
+.SH "SEE ALSO"
+.LP
+\fBlocale\-gen\fP(8), \fBlocale\fP(1)