Skip to content

Commit 30f7f78

Browse files
authored
Update README.md
Error in ubuntu repo installation command for not super user. Sudo command works only for echo command not for redirection and plain user have no rights to write to /etc/apt/sources.list.d/ folder.
1 parent b1ee3a9 commit 30f7f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Installers are available in release **assets**. [Latests](https://github.com/pos
7272
#### pg_probackup for vanilla PostgreSQL
7373
```shell
7474
#DEB Ubuntu|Debian Packages
75-
sudo echo "deb [arch=amd64] https://repo.postgrespro.ru/pg_probackup/deb/ $(lsb_release -cs) main-$(lsb_release -cs)" > /etc/apt/sources.list.d/pg_probackup.list
75+
sudo sh -c 'echo "deb [arch=amd64] https://repo.postgrespro.ru/pg_probackup/deb/ $(lsb_release -cs) main-$(lsb_release -cs)" > /etc/apt/sources.list.d/pg_probackup.list'
7676
sudo wget -O - https://repo.postgrespro.ru/pg_probackup/keys/GPG-KEY-PG_PROBACKUP | sudo apt-key add - && sudo apt-get update
7777
sudo apt-get install pg-probackup-{13,12,11,10,9.6,9.5}
7878
sudo apt-get install pg-probackup-{13,12,11,10,9.6,9.5}-dbg

0 commit comments

Comments
 (0)