aports/community/bareos/fix-pgctl-path.patch
2025-02-25 06:51:48 +00:00

14 lines
455 B
Diff

diff --git a/systemtests/CMakeLists.txt b/systemtests/CMakeLists.txt
index 80e0ed3..c739150 100644
--- a/systemtests/CMakeLists.txt
+++ b/systemtests/CMakeLists.txt
@@ -133,7 +133,7 @@ endif()
find_program(
PG_CTL
NAMES pg_ctl pg_ctl.exe
- PATHS /usr/lib/postgresql/*/bin /usr/bin /bin REQUIRED
+ PATHS /usr/lib/postgresql/*/bin /usr/libexec/postgresql17 /usr/bin /bin REQUIRED
)
get_filename_component(POSTGRES_BIN_PATH ${PG_CTL} DIRECTORY)