~ubuntu-branches/ubuntu/saucy/mime-support/saucy-proposed

« back to all changes in this revision

Viewing changes to update-mime.man

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-05-13 12:49:12 UTC
  • mfrom: (5.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20130513124912-dxt3lycmzrk6j6a2
Tags: 3.54ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Add "cautious-launcher" for handling execution of files that are
    outside /usr and /opt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\" Update-mime and this manpage were written by Brian White and
3
3
.\" have been placed in the public domain (the only true "free").
4
4
.\"
5
 
.TH UPDATE-MIME 8 "3rd Sep 2010" "Debian Project" "Update MIME Programs"
 
5
.TH UPDATE-MIME 8 "12th Feb 2012" "Debian Project" "Update MIME Programs"
6
6
.SH NAME
7
7
update\-mime \- create or update MIME information
8
8
.SH SYNOPSIS
115
115
.I DISPLAY
116
116
environment variable, please use one of:
117
117
 
118
 
        test=test -z "$DISPLAY"     (no X)
119
 
  or    test=test -n "$DISPLAY"     (have X)
 
118
        test=test \-z "$DISPLAY"     (no X)
 
119
  or    test=test \-n "$DISPLAY"     (have X)
120
120
 
121
121
Many programs recognize these strings and optimize for them.
122
122
.TP
173
173
Packages that wish to provide MIME access to themselves should
174
174
.B not
175
175
depend on, recommend, or suggest
176
 
.B mime-support.
177
 
Instead, they should just put something like the following in the
178
 
.I postinst
179
 
and
180
 
.I postrm
181
 
scripts.
 
176
.B mime-support,
 
177
as the the file they create in
 
178
.I /usr/lib/mime/packages
 
179
will cause
 
180
.B update\-mime
 
181
to be automatically run via a Dpkg trigger.
182
182
 
183
 
.ft CW
184
 
.nf
185
 
.ne 4
186
 
\&    if [ -x /usr/sbin/update-mime ]; then
187
 
\&        update-mime
188
 
\&    fi
189
 
.ft R
190
183
.SH "SEE ALSO"
191
 
.BR mailcap.order "(5), RFC-2046, RFC-1524"
 
184
.BR mailcap.order "(5), "deb-triggers "(1), RFC-2046, RFC-1524
192
185
.SH AUTHOR
193
186
.B update\-mime
194
187
was written by Brian White <bcwhite@pobox.com>