Update pre-conf.sh

adding support for preview for libreoffice document ....