Re: [macports-ports] branch master updated: postgresql10-server: change 96 to 10 in variable name

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [macports-ports] branch master updated: postgresql10-server: change 96 to 10 in variable name

Ryan Schmidt-24

On Mar 12, 2018, at 11:20, Jyrki Wahlstedt wrote:

> Jyrki Wahlstedt (jyrkiwahlstedt) pushed a commit to branch master
> in repository macports-ports.
>
>
> https://github.com/macports/macports-ports/commit/ad083018faca29bef693ea511b7415eb89b08967
>
> The following commit(s) were added to refs/heads/master by this push:
>
>      new ad08301  postgresql10-server: change 96 to 10 in variable name
>
> ad08301 is described below
>
>
> commit ad083018faca29bef693ea511b7415eb89b08967
>
> Author: Jyrki Wahlstedt
> AuthorDate: Mon Mar 12 17:19:55 2018 +0100
>
>
>     postgresql10-server: change 96 to 10 in variable name
>
> ---
>  databases/postgresql10-server/Portfile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
>
> diff --git a/databases/postgresql10-server/Portfile b/databases/postgresql10-server/Portfile
> index 0d74ebf..4ca99c7 100644
> --- a/databases/postgresql10-server/Portfile
> +++ b/databases/postgresql10-server/Portfile
> @@ -38,9 +38,9 @@ startupitem.create  yes
>  startupitem.init    \
>      "PGCTL=${libdir}/bin/pg_ctl"
>  startupitem.start    \
> -    "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL96DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
> +    "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL10DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
>  startupitem.stop    \
> -"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL96DATA:=${dbdir}} stop -s -m fast\""
> +"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL10DATA:=${dbdir}} stop -s -m fast\""

Looks like this changes the files this port installs (specifically, the wrapper script) so the port's revision must be increased.