#!/bin/sh # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # java-set-classpath - Utility to update the default # CLASSPATH for LibreOffice if test "z$1" = "z" ; then echo "Update the default CLASSPATH for LibreOffice" echo "" echo "Usage: $0 [dir|jar]..." echo "" echo "The utility updates the LibreOffice system setting. It adds or removes" echo "the given directories and jar-files to or from the default CLASSPATH" echo "depending on if they are available on the system or not." echo "" echo "Parameters:" echo " dir - absolute path to a directory" echo " jar - absolute path to a jar-file" exit 0; fi JVM_CONFIG_FILE=@INSTALLDIR@/program/fundamentalrc for path in $@ ; do if test "z${path%%/*}" != "z" ; then echo "Warning: the path "$path" is not absolute and will be ignored" continue fi if test -e $path ; then # the file exist grep "URE_MORE_JAVA_CLASSPATH_URLS.*file:/*$path\([[:space:]].*\)\?$" $JVM_CONFIG_FILE >/dev/null && continue # it is not registered TMP_FILE=`mktemp /tmp/ooset-java-class.XXXXXXXXXX` || exit 1 sed -e "s|^\(.*URE_MORE_JAVA_CLASSPATH_URLS.*\)$|\1 file://$path|" $JVM_CONFIG_FILE >$TMP_FILE mv -f $TMP_FILE $JVM_CONFIG_FILE chmod 644 $JVM_CONFIG_FILE else # the file does not exist, remove it from the configuration TMP_FILE=`mktemp /tmp/ooset-java-class.XXXXXXXXXX` || exit 1; sed -e "s|^\(.*URE_MORE_JAVA_CLASSPATH_URLS.*\)file:/*$path\([[:space:]].*\)\?$|\1\2|" \ -e "s/\(URE_MORE_JAVA_CLASSPATH_URLS=\)[[:space:]]\+/\1/" \ -e "/^.*URE_MORE_JAVA_CLASSPATH_URLS/s/[[:space:]]\+/ /g" \ -e "/^.*URE_MORE_JAVA_CLASSPATH_URLS/s/[[:space:]]*$//" $JVM_CONFIG_FILE >$TMP_FILE mv -f $TMP_FILE $JVM_CONFIG_FILE chmod 644 $JVM_CONFIG_FILE fi done tion value='distro/collabora/cd-5.3-3.1'>distro/collabora/cd-5.3-3.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sysui
AgeCommit message (Expand)Author
2019-05-21Add content_rating to AppData filesStephan Bergmann
2019-05-10an uno -> a unoCaolán McNamara
2019-04-25tdf#122244 Put InfoPlist.strings files at correct places on macOSStephan Bergmann
2019-03-24Resolves: tdf#122114 remove support for ~/.recently-used fileArkadiy Illarionov
2019-03-05improve documentation of soffice --accept parameterMichael Stahl
2018-12-17kde5: remove older kde/tde plugins, and references to thatThorsten Behrens
2018-11-14Add EMF and WMF mime types to Draw .desktop fileSamuel Mehrbrodt
2018-10-24don't try to verify .desktop files when building the menus.rpmChristian Lohmaier
2018-08-29Removed executable permission on simple ASCII filesAndrea Gelmini
2018-08-27apparmor: fix printing to fileVincas Dargis
2018-08-26boostrap->bootstrapCaolán McNamara
2018-08-15apparmor: fix access to /etc/xml/catalogVincas Dargis
2018-08-15apparmor: allow writing .epub filesVincas Dargis
2018-08-14apparmor: fix qt-related deniesVincas Dargis
2018-08-14Fix typosAndrea Gelmini
2018-08-14tdf#116856 Update screenshot imagesXisco Fauli
2018-08-14apparmor: update program.soffice.bin for KDEVincas Dargis
2018-08-10test apparmor profile parsing (see tdf#114915)Rene Engelhard
2018-08-07deb#905442 apparmor: fix saving files in enforced modeVincas Dargis
2018-07-18Fix typosAndrea Gelmini
2018-07-11sysui: try to fix Mac instsetsMichael Stahl
2018-07-03App icon updateandreas kainz
2018-06-25update app icns iconsandreas kainz
2018-06-17fix packaging break after bindir handling & new iconsChristian Lohmaier
2018-06-13Respect --bindir..orbea
2018-06-12app icons: update locolor iconsandreas kainz
2018-06-11app icon update ico png and svg support finishedandreas kainz
2018-06-09App icons: add 22,24,64px size app and mimetype LibO iconsandreas kainz
2018-06-06App and Mimetype update to new flat designandreas kainz
2018-06-04update writer app ico fileandreas kainz
2018-06-02Removed executable permission on data filesAndrea Gelmini
2018-06-01Mimetype icon update for apps and impressandreas kainz
2018-05-31Mimetype icon update writer and calcandreas kainz
2018-05-24revert accidentially committed partRene Engelhard
2018-05-24apparmor: allow also /usr/lib{,32,64}/jvm/**/bin/javaRene Engelhard
2018-05-23deb#899380 apparmor: fix gpg encryption hang trying to lock random_seedRene Engelhard
2018-05-23remove Linux ("UNX") systray "Quickstarter"Rene Engelhard
2018-05-04Removed executable permission on data fileAndrea Gelmini
2018-04-15use the standard name pattern for a packageDavid Tardon