postinst (b31e36b3) postinst (bda541eb)
1#!/bin/sh
2# *************************************************************
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the

--- 102 unchanged lines hidden (view full) ---

111/^application\/x-star/d
112/excel/d
113/ms[-]*word/d
114/powerpoint/d
115' /etc/mailcap 2>/dev/null >> /etc/mailcap.tmp$$
116
117 # now append our stuff to the temporary file
118 cat >> /etc/mailcap.tmp$$ << END
1#!/bin/sh
2# *************************************************************
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the

--- 102 unchanged lines hidden (view full) ---

111/^application\/x-star/d
112/excel/d
113/ms[-]*word/d
114/powerpoint/d
115' /etc/mailcap 2>/dev/null >> /etc/mailcap.tmp$$
116
117 # now append our stuff to the temporary file
118 cat >> /etc/mailcap.tmp$$ << END
119# OpenOffice.org
119# Apache OpenOffice
120application/vnd.oasis.opendocument.text; %PREFIX -view %s
121application/vnd.oasis.opendocument.text-template; %PREFIX -view %s
122application/vnd.oasis.opendocument.text-web; %PREFIX -view %s
123application/vnd.oasis.opendocument.text-master; %PREFIX -view %s
124application/vnd.sun.xml.writer; %PREFIX -view %s
125application/vnd.sun.xml.writer.template; %PREFIX -view %s
126application/vnd.sun.xml.writer.global; %PREFIX -view %s
127application/vnd.stardivision.writer; %PREFIX -view %s

--- 50 unchanged lines hidden ---
120application/vnd.oasis.opendocument.text; %PREFIX -view %s
121application/vnd.oasis.opendocument.text-template; %PREFIX -view %s
122application/vnd.oasis.opendocument.text-web; %PREFIX -view %s
123application/vnd.oasis.opendocument.text-master; %PREFIX -view %s
124application/vnd.sun.xml.writer; %PREFIX -view %s
125application/vnd.sun.xml.writer.template; %PREFIX -view %s
126application/vnd.sun.xml.writer.global; %PREFIX -view %s
127application/vnd.stardivision.writer; %PREFIX -view %s

--- 50 unchanged lines hidden ---