summaryrefslogtreecommitdiffstats
path: root/debian/patches/wget-doc-remove-usr-local-in-wget.texi
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:25:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:25:45 +0000
commit17d58f7e11eee5dee2b0215e64d6e1a1359516ac (patch)
tree43495cac049b042ea0dab2c7b0c25e25b5534009 /debian/patches/wget-doc-remove-usr-local-in-wget.texi
parentAdding upstream version 1.21.4. (diff)
downloadwget-17d58f7e11eee5dee2b0215e64d6e1a1359516ac.tar.xz
wget-17d58f7e11eee5dee2b0215e64d6e1a1359516ac.zip
Adding debian version 1.21.4-1.debian/1.21.4-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/wget-doc-remove-usr-local-in-wget.texi')
-rw-r--r--debian/patches/wget-doc-remove-usr-local-in-wget.texi43
1 files changed, 43 insertions, 0 deletions
diff --git a/debian/patches/wget-doc-remove-usr-local-in-wget.texi b/debian/patches/wget-doc-remove-usr-local-in-wget.texi
new file mode 100644
index 0000000..ef664c2
--- /dev/null
+++ b/debian/patches/wget-doc-remove-usr-local-in-wget.texi
@@ -0,0 +1,43 @@
+corrects the wgetrc path from /usr/local/etc/ to /etc/wgetrc in the documentation
+
+--- a/doc/wget.texi 2011-08-06 12:22:58.000000000 +0200
++++ b/doc/wget.texi 2011-08-12 14:13:35.000000000 +0200
+@@ -190,16 +190,16 @@
+ 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.
+
+
+ @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
+@@ -2696,9 +2696,7 @@
+ @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
+@@ -2708,7 +2706,7 @@
+
+ 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