#!/bin/sh

echo postinst

/usr/local/bin/skydmin -i
awk -e '/\/usr\/local\/lib64/  { exit 1 }' < /etc/ld.so.conf
if [ $? -eq 0 ]; then
   echo "/usr/local/lib64" >> /etc/ld.so.conf
fi
/sbin/ldconfig
