From 16379a6b35a3b573916870960fff5af26523d473 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Fri, 21 Jan 2005 10:22:00 +0000 Subject: [PATCH] INTEGRATION: CWS sysui03 (1.1.2); FILE ADDED 2005/01/13 08:12:17 obr 1.1.2.1: #i36339# modification of /etc/mailcap and /etc/mime.types now done in the desktop integration packages --- sysui/desktop/solaris/mime.types | 46 ++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 sysui/desktop/solaris/mime.types diff --git a/sysui/desktop/solaris/mime.types b/sysui/desktop/solaris/mime.types new file mode 100644 index 000000000000..3ee393b6f06a --- /dev/null +++ b/sysui/desktop/solaris/mime.types @@ -0,0 +1,46 @@ +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-template ott +application/vnd.oasis.opendocument.text-web oth +application/vnd.oasis.opendocument.text-master odm +application/vnd.oasis.opendocument.graphics odg +application/vnd.oasis.opendocument.graphics-template otg +application/vnd.oasis.opendocument.presentation odp +application/vnd.oasis.opendocument.presentation-template otp +application/vnd.oasis.opendocument.spreadsheet ods +application/vnd.oasis.opendocument.spreadsheet-template ots +application/vnd.oasis.opendocument.chart odc +application/vnd.oasis.opendocument.formula odf +application/vnd.oasis.opendocument.database odb +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 +END +else +cat ${PKG_INSTALL_ROOT}/etc/mime.types +fi