1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-02-23 11:15:57 +00:00
Files
operating-system/buildroot/package/postgresql/pg_config
2018-03-17 23:47:00 +00:00

20 lines
305 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"
;;
*)
echo "Usage: $0 {--includedir|--libdir}"
esac