mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-12-26 05:08:21 +00:00
23 lines
372 B
Bash
23 lines
372 B
Bash
#!/bin/sh
|
|
|
|
#
|
|
# Minimal pg_config implementation as replacement for the native pg_config application
|
|
# Only implements --includedir and --libdir
|
|
#
|
|
|
|
prefix=/usr
|
|
|
|
case "$1" in
|
|
--includedir)
|
|
echo "$prefix/include"
|
|
;;
|
|
--libdir)
|
|
echo "$prefix/lib"
|
|
;;
|
|
--version)
|
|
echo "PostgreSQL @POSTGRESQL_VERSION@"
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {--includedir|--libdir|--version}"
|
|
esac
|