mirror of https://gitee.com/openkylin/wget.git
wget-doc-remove-usr-local-in-wget.texi
corrects the wgetrc path from /usr/local/etc/ to /etc/wgetrc in the documentation Gbp-Pq: Name wget-doc-remove-usr-local-in-wget.texi
This commit is contained in:
parent
5e01231462
commit
9d84e5af01
|
@ -190,7 +190,7 @@ gauge can be customized to your preferences.
|
|||
Most of the features are fully configurable, either through command line
|
||||
options, or via the initialization file @file{.wgetrc} (@pxref{Startup
|
||||
File}). Wget allows you to define @dfn{global} startup files
|
||||
(@file{/usr/local/etc/wgetrc} by default) for site settings. You can also
|
||||
(@file{/etc/wgetrc} by default) for site settings. You can also
|
||||
specify the location of a startup file with the --config option.
|
||||
To disable the reading of config files, use --no-config.
|
||||
If both --config and --no-config are given, --no-config is ignored.
|
||||
|
@ -199,7 +199,7 @@ If both --config and --no-config are given, --no-config is ignored.
|
|||
@ignore
|
||||
@c man begin FILES
|
||||
@table @samp
|
||||
@item /usr/local/etc/wgetrc
|
||||
@item /etc/wgetrc
|
||||
Default location of the @dfn{global} startup file.
|
||||
|
||||
@item .wgetrc
|
||||
|
@ -3166,9 +3166,7 @@ commands.
|
|||
@cindex location of wgetrc
|
||||
|
||||
When initializing, Wget will look for a @dfn{global} startup file,
|
||||
@file{/usr/local/etc/wgetrc} by default (or some prefix other than
|
||||
@file{/usr/local}, if Wget was not installed there) and read commands
|
||||
from there, if it exists.
|
||||
@file{/etc/wgetrc} by default and read commands from there, if it exists.
|
||||
|
||||
Then it will look for the user's file. If the environmental variable
|
||||
@code{WGETRC} is set, Wget will try to load that file. Failing that, no
|
||||
|
@ -3178,7 +3176,7 @@ If @code{WGETRC} is not set, Wget will try to load @file{$HOME/.wgetrc}.
|
|||
|
||||
The fact that user's settings are loaded after the system-wide ones
|
||||
means that in case of collision user's wgetrc @emph{overrides} the
|
||||
system-wide wgetrc (in @file{/usr/local/etc/wgetrc} by default).
|
||||
system-wide wgetrc (in @file{//etc/wgetrc} by default).
|
||||
Fascist admins, away!
|
||||
|
||||
@node Wgetrc Syntax, Wgetrc Commands, Wgetrc Location, Startup File
|
||||
|
|
Loading…
Reference in New Issue