bump product version to 6.4.0.3
[LibreOffice.git] / sysui / desktop / solaris / mime.types
blob1e10ad1829c491c25e0e01242007357737d6094f
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 #   Licensed to the Apache Software Foundation (ASF) under one or more
11 #   contributor license agreements. See the NOTICE file distributed
12 #   with this work for additional information regarding copyright
13 #   ownership. The ASF licenses this file to you under the Apache
14 #   License, Version 2.0 (the "License"); you may not use this file
15 #   except in compliance with the License. You may obtain a copy of
16 #   the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 if [ "$1" = install ]
20 then
21 # backing out existing entries to avoid duplicates
22 sed '
23 /application\/vnd\.oasis\.opendocument/d
24 /application\/vnd\.sun/d
25 /application\/vnd\.stardivision/d
26 ' ${PKG_INSTALL_ROOT}/etc/mime.types 2>/dev/null
28 # now append our stuff to the temporary file
29 cat << END
30 application/vnd.oasis.opendocument.text odt
31 application/vnd.oasis.opendocument.text-flat-xml fodt
32 application/vnd.oasis.opendocument.text-template ott
33 application/vnd.oasis.opendocument.text-web oth
34 application/vnd.oasis.opendocument.text-master odm
35 application/vnd.oasis.opendocument.text-master-template otm
36 application/vnd.oasis.opendocument.graphics odg
37 application/vnd.oasis.opendocument.graphics-flat-xml fodg
38 application/vnd.oasis.opendocument.graphics-template otg
39 application/vnd.oasis.opendocument.presentation odp
40 application/vnd.oasis.opendocument.presentation-flat-xml fodp
41 application/vnd.oasis.opendocument.presentation-template otp
42 application/vnd.oasis.opendocument.spreadsheet ods
43 application/vnd.oasis.opendocument.spreadsheet-flat-xml fods
44 application/vnd.oasis.opendocument.spreadsheet-template ots
45 application/vnd.oasis.opendocument.chart odc
46 application/vnd.oasis.opendocument.formula odf
47 application/vnd.oasis.opendocument.image odi
48 application/vnd.sun.xml.writer sxw
49 application/vnd.sun.xml.writer.template stw
50 application/vnd.sun.xml.writer.global sxg
51 application/vnd.stardivision.writer sdw vor
52 application/vnd.stardivision.writer-global sgl
53 application/vnd.sun.xml.calc sxc
54 application/vnd.sun.xml.calc.template stc
55 application/vnd.stardivision.calc sdc
56 application/vnd.stardivision.chart sds
57 application/vnd.sun.xml.impress sxi
58 application/vnd.sun.xml.impress.template sti
59 application/vnd.stardivision.impress sdd sdp
60 application/vnd.sun.xml.draw sxd
61 application/vnd.sun.xml.draw.template std
62 application/vnd.stardivision.draw sda
63 application/vnd.sun.xml.math sxm
64 application/vnd.stardivision.math smf
65 application/vnd.sun.xml.base odb
66 application/vnd.openofficeorg.extension oxt
67 application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
68 application/vnd.ms-word.document.macroEnabled.12 docm
69 application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
70 application/vnd.ms-word.template.macroEnabled.12 dotm
71 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
72 application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
73 application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
74 application/vnd.ms-excel.template.macroEnabled.12 xltm
75 application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
76 application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
77 application/vnd.openxmlformats-officedocument.presentationml.template potx
78 application/vnd.ms-powerpoint.template.macroEnabled.12 potm
79 END
80 else
81 cat ${PKG_INSTALL_ROOT}/etc/mime.types