Skip to content
Snippets Groups Projects
Commit c9b836a1 authored by Gasser Martin (mg20u947)'s avatar Gasser Martin (mg20u947)
Browse files

Merge branch 'detect-postgres-for-v13' into 'master'

detect postgres check for v13

See merge request !14
parents ad294280 47e42660
No related branches found
No related tags found
1 merge request!14detect postgres check for v13
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# 2020-02-25 v1.0 <axel.hahn@iml.unibe.ch> initial version # 2020-02-25 v1.0 <axel.hahn@iml.unibe.ch> initial version
# 2021-03-26 v1.1 <axel.hahn@iml.unibe.ch> add locations if postgres is not in PATH # 2021-03-26 v1.1 <axel.hahn@iml.unibe.ch> add locations if postgres is not in PATH
# 2021-08-23 v1.1 <martin.gasser@iml.unibe.ch> added location for v11 # 2021-08-23 v1.1 <martin.gasser@iml.unibe.ch> added location for v11
# 2022-04-07 v1.2 <martin.gasser@iml.unibe.ch> added location for v13
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
...@@ -16,7 +17,7 @@ ...@@ -16,7 +17,7 @@
# #
#otherlocations="/usr/pgsql-10/bin/ /some/other/postgres/location/bin/" #otherlocations="/usr/pgsql-10/bin/ /some/other/postgres/location/bin/"
otherlocations="/usr/pgsql-10/bin/ /usr/lib/postgresql/11/bin" otherlocations="/usr/pgsql-10/bin/ /usr/lib/postgresql/11/bin /usr/lib/postgresql/13/bin"
POSTGRES=$( which postgres 2>/dev/null ) POSTGRES=$( which postgres 2>/dev/null )
test -z "$POSTGRES" && test -z "$POSTGRES" &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment