#!/bin/sh # Add postgresql library directory to /etc/ld.so.conf: if fgrep /opt/postgresql/lib etc/ld.so.conf 1> /dev/null 2> /dev/null ; then true else echo "/opt/postgresql/lib" >> etc/ld.so.conf fi .