diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-30 16:49:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-30 17:03:00 +0100 |
commit | e722261acafe9cd2761005c56fb2b47eb94207e5 (patch) | |
tree | 25e7436afedf06e3b769e698e0bc8babb5270260 /sysui/desktop/debian/postinst | |
parent | 1afc85f34cb0b84f79a2a75abbb05e244bb5638c (diff) |
add flat-xml types to .desktop files etc.
Diffstat (limited to 'sysui/desktop/debian/postinst')
-rwxr-xr-x | sysui/desktop/debian/postinst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sysui/desktop/debian/postinst b/sysui/desktop/debian/postinst index 67161dfa2ef6..531251215fe2 100755 --- a/sysui/desktop/debian/postinst +++ b/sysui/desktop/debian/postinst @@ -38,15 +38,19 @@ sed ' # now append our stuff to the temporary file cat >> /etc/mime.types.tmp$$ << END -application/vnd.oasis.opendocument.text odt +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.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 @@ -98,6 +102,7 @@ then cat >> /etc/mailcap.tmp$$ << END # LibreOffice application/vnd.oasis.opendocument.text; %PREFIX -view %s +application/vnd.oasis.opendocument.text-flat-xml; %PREFIX -view %s application/vnd.oasis.opendocument.text-template; %PREFIX -view %s application/vnd.oasis.opendocument.text-web; %PREFIX -view %s application/vnd.oasis.opendocument.text-master; %PREFIX -view %s @@ -113,6 +118,7 @@ application/vnd.stardivision.math; %PREFIX -view %s application/x-starmath; %PREFIX -view %s application/msword; %PREFIX -view %s application/vnd.oasis.opendocument.spreadsheet; %PREFIX -view %s +application/vnd.oasis.opendocument.spreadsheet-flat-xml; %PREFIX -view %s application/vnd.oasis.opendocument.spreadsheet-template; %PREFIX -view %s application/vnd.sun.xml.calc; %PREFIX -view %s application/vnd.sun.xml.calc.template; %PREFIX -view %s @@ -125,6 +131,7 @@ application/msexcel; %PREFIX -view %s application/vnd.ms-excel; %PREFIX -view %s application/x-msexcel; %PREFIX -view %s application/vnd.oasis.opendocument.presentation; %PREFIX -view %s +application/vnd.oasis.opendocument.presentation-flat-xml; %PREFIX -view %s application/vnd.oasis.opendocument.presentation-template; %PREFIX -view %s application/vnd.sun.xml.impress; %PREFIX -view %s application/vnd.sun.xml.impress.template; %PREFIX -view %s @@ -135,6 +142,7 @@ application/mspowerpoint; %PREFIX -view %s application/vnd.ms-powerpoint; %PREFIX -view %s application/x-mspowerpoint; %PREFIX -view %s application/vnd.oasis.opendocument.graphics; %PREFIX -view %s +application/vnd.oasis.opendocument.graphics-flat-xml; %PREFIX -view %s application/vnd.oasis.opendocument.graphics-template; %PREFIX -view %s application/vnd.sun.xml.draw; %PREFIX -view %s application/vnd.sun.xml.draw.template; %PREFIX -view %s |