[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Dpkg triggers for update-mime? Re: Bug#89038: mime policy copying update-mime(8)



Le Wed, Aug 25, 2010 at 02:41:46PM +1000, Ben Finney a écrit :
> +
> +	<p>
> +	  Packages containing such programs must register them
> +	  with <prgn>update-mime</prgn> as documented in <manref
> +	  name="update-mime" section="8">. They should <em>not</em> depend
> +	  on, recommend, or suggest <prgn>mime-support</prgn>. Instead,
> +	  they should just put something like the following in the
> +	  <tt>postinst</tt> and <tt>postrm</tt> scripts:
> +
> +	  <example> 
> +  if [ -x /usr/sbin/update-mime ]; then
> +      update-mime
> +  fi
> +	  </example>

Thanks Ben for your patch.

By the way, wouldn't mime-support be a good candidate for declaring dpkg
triggers?

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


Reply to: