Sophie

Sophie

distrib > Momonga > 7 > x86_64 > by-pkgid > fdde2f741b96d2fb60e1c14081498cad > scriptlet

openoffice.org-calc2latex-0.2.4-6m.mo7.x86_64.rpm

PREUN

/bin/sh
if [ "$1" -eq 0 ]; then
    if [ -x /usr/lib64/openoffice.org3.0/program/unopkg ]; then
	/usr/lib64/openoffice.org3.0/program/unopkg remove -f --shared Calc2LaTeX || \
	    echo "ERROR: Extension registering may fail if concurrent OOo process(es) are running. Plese quit all OOo process(es) before update/remove."
    fi
fi

POSTIN

/bin/sh
# registration to OOo
# for detailed usage of unopkg, see a following link
# http://docs.sun.com/app/docs/doc/819-1346/6n3n8r056?l=ja&a=view
#if [ "$1" -eq 1 ]; then
    if [ -x /usr/lib64/openoffice.org3.0/program/unopkg ]; then
	/usr/lib64/openoffice.org3.0/program/unopkg add -f --shared /usr/lib64/openoffice.org3.0/share/basic/Calc2LaTeX \
	|| echo "ERROR: Extension registering may fail if concurrent OOo process(es) are running. Plese quit all OOo process(es) before update/remove."
    fi
#fi