1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-03 14:52:21 +02:00

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.
This commit is contained in:
David Steele 2019-09-03 18:28:53 -04:00
parent 005684bf1f
commit 8df7d68c8d

View File

@ -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>