Mailinglist Archive: zypp-devel (17 mails)
| < Previous | Next > |
[zypp-devel] [PATCH] add info about env variables to zypper manpage
- From: Josef Reidinger <jreidinger@xxxxxxx>
- Date: Tue, 22 Jun 2010 16:45:06 +0200
- Message-id: <201006221645.06451.jreidinger@xxxxxxx>
--
Josef Reidinger
YaST team
maintainer of perl-Bootloader, YaST2-Repair, parts of webyast
From bf1df436e95ae098185cf77812387fd318c051c8 Mon Sep 17 00:00:00 2001
From: Josef Reidinger <jreidinger@xxxxxxx>
Date: Tue, 22 Jun 2010 16:32:32 +0200
Subject: [PATCH] add info about env variables to zypper manpage
Due to quite big amount of question on irc what enviroment variable
is needed to use curl as backend I add information about environment
variables to zypper man page.
---
doc/zypper.8 | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/doc/zypper.8 b/doc/zypper.8
index 50f56af..58cb722 100644
--- a/doc/zypper.8
+++ b/doc/zypper.8
@@ -1864,6 +1864,36 @@ of compatibility. Zypper (libzypp) implements this
option by passing the
\fB\-\-test\fR option to \fBrpm\fR. The option is used in \fBinstall\fR,
\fBremove\fR,
\fBupdate\fR, \fBdist-upgrade\fR (not available in rug), and \fBverify\fR
commands.
+.SH "ENVIRONMENT VARIABLES"
+The behavior of
+.B zypper
+is affected by the following environment variables.
+.PP
+The locale for category
+.BI LC_ foo
+is specified by examining the three environment variables
+.BR LC_ALL ,
+.BR LC_\fIfoo\fP ,
+.BR LANG ,
+in that order.
+The first of these variables that is set specifies the locale.
+For example, if
+.B LC_ALL
+is not set, but
+.B LC_MESSAGES
+is set to
+.BR pt_BR ,
+then the Brazilian Portuguese locale is used for the
+.B LC_MESSAGES
+category.
+The C locale is used if none of these environment variables are set,
+if the locale catalog is not installed, or if
+.B zypper
+was not compiled with national language support (\s-1NLS\s0).
+.TP
+.B ZYPP_ARIA2C(=1)
+specify if aria2c is backend for downloading (default). If set to 0 then use
curl.
+
.SH "HOMEPAGE"
http://en.opensuse.org/Zypper
--
1.7.0.3
| < Previous | Next > |