# arg 1:  the new package version
post_install() {
	# we need to ldconfig first, in case xfree86's libs aren't
	# in ld.so.cache yet
        if [ -z "`grep "usr/lib/xulrunner" /etc/ld.so.conf`" ]; then
          /bin/echo "/usr/lib/xulrunner" >> /etc/ld.so.conf
	  /sbin/ldconfig
        fi
}

op=$1
shift

$op $*
