diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:54:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:54:39 +0000 |
commit | 267c6f2ac71f92999e969232431ba04678e7437e (patch) | |
tree | 358c9467650e1d0a1d7227a21dac2e3d08b622b2 /sysui/desktop/solaris/mime.types | |
parent | Initial commit. (diff) | |
download | libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.tar.xz libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.zip |
Adding upstream version 4:24.2.0.upstream/4%24.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sysui/desktop/solaris/mime.types')
-rw-r--r-- | sysui/desktop/solaris/mime.types | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/sysui/desktop/solaris/mime.types b/sysui/desktop/solaris/mime.types new file mode 100644 index 0000000000..1e10ad1829 --- /dev/null +++ b/sysui/desktop/solaris/mime.types @@ -0,0 +1,82 @@ +# +# 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/. +# +# This file incorporates work covered by the following license notice: +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.apache.org/licenses/LICENSE-2.0 . +# + +if [ "$1" = install ] +then +# backing out existing entries to avoid duplicates +sed ' +/application\/vnd\.oasis\.opendocument/d +/application\/vnd\.sun/d +/application\/vnd\.stardivision/d +' ${PKG_INSTALL_ROOT}/etc/mime.types 2>/dev/null + +# now append our stuff to the temporary file +cat << END +application/vnd.oasis.opendocument.text odt +application/vnd.oasis.opendocument.text-flat-xml fodt +application/vnd.oasis.opendocument.text-template ott +application/vnd.oasis.opendocument.text-web oth +application/vnd.oasis.opendocument.text-master odm +application/vnd.oasis.opendocument.text-master-template otm +application/vnd.oasis.opendocument.graphics odg +application/vnd.oasis.opendocument.graphics-flat-xml fodg +application/vnd.oasis.opendocument.graphics-template otg +application/vnd.oasis.opendocument.presentation odp +application/vnd.oasis.opendocument.presentation-flat-xml fodp +application/vnd.oasis.opendocument.presentation-template otp +application/vnd.oasis.opendocument.spreadsheet ods +application/vnd.oasis.opendocument.spreadsheet-flat-xml fods +application/vnd.oasis.opendocument.spreadsheet-template ots +application/vnd.oasis.opendocument.chart odc +application/vnd.oasis.opendocument.formula odf +application/vnd.oasis.opendocument.image odi +application/vnd.sun.xml.writer sxw +application/vnd.sun.xml.writer.template stw +application/vnd.sun.xml.writer.global sxg +application/vnd.stardivision.writer sdw vor +application/vnd.stardivision.writer-global sgl +application/vnd.sun.xml.calc sxc +application/vnd.sun.xml.calc.template stc +application/vnd.stardivision.calc sdc +application/vnd.stardivision.chart sds +application/vnd.sun.xml.impress sxi +application/vnd.sun.xml.impress.template sti +application/vnd.stardivision.impress sdd sdp +application/vnd.sun.xml.draw sxd +application/vnd.sun.xml.draw.template std +application/vnd.stardivision.draw sda +application/vnd.sun.xml.math sxm +application/vnd.stardivision.math smf +application/vnd.sun.xml.base odb +application/vnd.openofficeorg.extension oxt +application/vnd.openxmlformats-officedocument.wordprocessingml.document docx +application/vnd.ms-word.document.macroEnabled.12 docm +application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx +application/vnd.ms-word.template.macroEnabled.12 dotm +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx +application/vnd.ms-excel.sheet.macroEnabled.12 xlsm +application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx +application/vnd.ms-excel.template.macroEnabled.12 xltm +application/vnd.openxmlformats-officedocument.presentationml.presentation pptx +application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm +application/vnd.openxmlformats-officedocument.presentationml.template potx +application/vnd.ms-powerpoint.template.macroEnabled.12 potm +END +else +cat ${PKG_INSTALL_ROOT}/etc/mime.types +fi |