POSTIN
/bin/sh
if grep -q "^/usr/X11R6/lib$" /etc/ld.so.conf; then grep -v "^/usr/X11R6/lib$" /etc/ld.so.conf > /etc/ld.so.conf.new mv -f /etc/ld.so.conf.new /etc/ld.so.conf /sbin/ldconfig fi
POSTUN
/bin/sh
if [ "$1" = "0" \ -a "`grep "^/usr/X11R6/lib$" /etc/ld.so.conf`" != "" ]; then grep -v "^/usr/X11R6/lib$" /etc/ld.so.conf > /etc/ld.so.conf.new mv -f /etc/ld.so.conf.new /etc/ld.so.conf /sbin/ldconfig fi #-----------------------------------------------------------