1

[alpine-devel] [PATCH] main/postgresql Fixing unix_socket_directories get_config parameter

Alan Messias Cordeiro de Lacerda
Details
Message ID
<1407506882-3127-1-git-send-email-alancordeiro@gmail.com>
Sender timestamp
1407506882
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 main/postgresql/postgresql.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/postgresql/postgresql.initd b/main/postgresql/postgresql.initd
index 2ca8420..d47c505 100644
--- a/main/postgresql/postgresql.initd
+++ b/main/postgresql/postgresql.initd
@@ -21,7 +21,7 @@ get_config() {
 checkconfig() {
 	configured_port=$(get_config port)
 	: ${configured_port:=${PGPORT:-5432}}
-	socket_path=$(get_config unix_socket_directory)
+	socket_path=$(get_config unix_socket_directories)
 	: ${socket_path:=/var/run/postgresql}
 
 	checkpath -d -m 0770 -o postgres:postgres ${socket_path}
-- 
1.8.4.3



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20140811141445.42ca9a2c@ncopa-desktop.alpinelinux.org>
In-Reply-To
<1407506882-3127-1-git-send-email-alancordeiro@gmail.com> (view parent)
Sender timestamp
1407759285
DKIM signature
missing
Download raw message
On Fri,  8 Aug 2014 14:08:02 +0000
Alan Messias Cordeiro de Lacerda <alancordeiro@gmail.com> wrote:

> ---
>  main/postgresql/postgresql.initd | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/main/postgresql/postgresql.initd b/main/postgresql/postgresql.initd
> index 2ca8420..d47c505 100644
> --- a/main/postgresql/postgresql.initd
> +++ b/main/postgresql/postgresql.initd
> @@ -21,7 +21,7 @@ get_config() {
>  checkconfig() {
>  	configured_port=$(get_config port)
>  	: ${configured_port:=${PGPORT:-5432}}
> -	socket_path=$(get_config unix_socket_directory)
> +	socket_path=$(get_config unix_socket_directories)
>  	: ${socket_path:=/var/run/postgresql}
>  
>  	checkpath -d -m 0770 -o postgres:postgres ${socket_path}

I fixed checksums and bumped pkgrel.

Thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---