Add postgresql 13 for debian
This commit is contained in:
parent
bacff64165
commit
6983ff6606
1 changed files with 9 additions and 0 deletions
9
packages/postgresql-13/apt
Executable file
9
packages/postgresql-13/apt
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
{
|
||||
sudo apt-get -q update
|
||||
sudo apt-get -qy install gnupg2
|
||||
curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
|
||||
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
|
||||
sudo apt-get -q update
|
||||
} >&2
|
||||
echo postgresql-13 postgresql-client-13
|
Loading…
Add table
Reference in a new issue