#!/bin/sh # HACK TO REMOVE PROBLEMS WITH CORRUPTED "pspfontcache" share_pspfontcache=`dirname "$0"`/../share/psprint/pspfontcache user_pspfontcache=`dirname "$0"`/../user/psprint/pspfontcache [ -f $share_pspfontcache ] && rm $share_pspfontcache [ -f $user_pspfontcache ] && rm $user_pspfontcache cmd=`dirname "$0"`/soffice if [ "$1" = "" ] then exec "$cmd" private:factory/swriter else exec "$cmd" "$@" fi