pgbackrest.git / summary / log / commit / refs
commit 8df7d68c8dca2c61b665bbbd1f26800c0dca3ae8
Author: David Steele <david@pgmasters.net>
Date: Tue Sep 03 22:28:53 2019 +0000
Fix sudo missed in "Build pgBackRest as an unprivileged user".
286a106a updated the documentation to build pgBackRest as an unprivileged user, but the wget command was missed. This command is not actually run, just displayed, because the release is not yet available when the documentation is built.
Update the wget command to run as the local user.
doc/xml/user-guide.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/xml/user-guide.xml b/doc/xml/user-guide.xml
index e280a5086..e63bca669 100644
--- a/doc/xml/user-guide.xml
+++ b/doc/xml/user-guide.xml
@@ -732,7 +732,7 @@
<title>Download version <id>{[version]}</id> of <backrest/> to pre-created <path>/build</path> path</title>
<!-- This is shown to the user but never actually run for the very good reason that the release is not available before the documentation is built -->
- <execute user="root" skip="y">
+ <execute skip="y">
<exe-cmd>wget -q -O -
{[github-url-release]}/{[version]}.tar.gz |
tar zx -C /build</exe-cmd>
[parent: 005684bf1f55]