unopkg.sh (fce70c9b) unopkg.sh (a96a8d21)
1#!/bin/sh
2#**************************************************************
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the

--- 44 unchanged lines hidden (view full) ---

53
54if [ "$OPTSYNC" = "true" ] && [ -z "$OPTOTHER" ]
55then
56 JVMFWKPARAMS='-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
57fi
58
59# extend the ld_library_path for java: javaldx checks the sofficerc for us
60if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
1#!/bin/sh
2#**************************************************************
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the

--- 44 unchanged lines hidden (view full) ---

53
54if [ "$OPTSYNC" = "true" ] && [ -z "$OPTOTHER" ]
55then
56 JVMFWKPARAMS='-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
57fi
58
59# extend the ld_library_path for java: javaldx checks the sofficerc for us
60if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
61 my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS $JVMFWKPARAMS \
61 my_path=`"$sd_prog/javaldx" $BOOTSTRAPVARS $JVMFWKPARAMS \
62 "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"`
63 if [ -n "$my_path" ] ; then
64 LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
65 export LD_LIBRARY_PATH
66 fi
67fi
68
69unset XENVIRONMENT
70
71# uncomment line below to disable anti aliasing of fonts
72# SAL_ANTIALIAS_DISABLE=true; export SAL_ANTIALIAS_DISABLE
73
74# uncomment line below if you encounter problems starting soffice on your system
75# SAL_NO_XINITTHREADS=true; export SAL_NO_XINITTHREADS
76
77# execute binary
78exec "$sd_prog/unopkg.bin" "$@" "$JVMFWKPARAMS" \
79 "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"
80
62 "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"`
63 if [ -n "$my_path" ] ; then
64 LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
65 export LD_LIBRARY_PATH
66 fi
67fi
68
69unset XENVIRONMENT
70
71# uncomment line below to disable anti aliasing of fonts
72# SAL_ANTIALIAS_DISABLE=true; export SAL_ANTIALIAS_DISABLE
73
74# uncomment line below if you encounter problems starting soffice on your system
75# SAL_NO_XINITTHREADS=true; export SAL_NO_XINITTHREADS
76
77# execute binary
78exec "$sd_prog/unopkg.bin" "$@" "$JVMFWKPARAMS" \
79 "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"
80