From 47e4266085bb72df6704d199c5315a624e3c9229 Mon Sep 17 00:00:00 2001
From: Martin <martin.gasser@protonmail.com>
Date: Thu, 7 Apr 2022 13:52:27 +0200
Subject: [PATCH] detect postgres check for v13

---
 check_eol-versiondetect/detect-postgres | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/check_eol-versiondetect/detect-postgres b/check_eol-versiondetect/detect-postgres
index 5958474..3a4e107 100755
--- a/check_eol-versiondetect/detect-postgres
+++ b/check_eol-versiondetect/detect-postgres
@@ -8,6 +8,7 @@
 # 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-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 @@
 #
 #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 )
 test -z "$POSTGRES" &&
-- 
GitLab