Update permissions on pgdg.gpg file
This commit is contained in:
parent
c28aad31a1
commit
7ceb1293e8
|
|
@ -30,6 +30,7 @@ fi
|
|||
if [ ."$database_repo" = ."official" ]; then
|
||||
sh -c 'echo "deb [signed-by=/etc/apt/trusted.gpg.d/pgdg.gpg] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/pgdg.gpg
|
||||
chmod 644 /etc/apt/trusted.gpg.d/pgdg.gpg
|
||||
apt-get update && apt-get upgrade -y
|
||||
if [ ."$database_host" = ."127.0.0.1" ] || [ ."$database_host" = ."::1" ] ; then
|
||||
if [ ."$database_version" = ."latest" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue