Christoph Mathys eraserix at gmail.com
Tue Jun 28 15:52:32 UTC 2011

On 05/16/2011 11:21 PM, rosea grammostola wrote:
> This is what I have in the preinst file right now:
> dpkg-divert --divert /etc/xdg/menus/applications.menu_gnome --rename
> /etc/xdg/menus/applications.menu

If you use dpkg-divert from a package, you have to specify --package
$YOUR_PACKAGE_NAME so the diversion is not active for this package. The
default is --local, which means that your package will install the file
to the diverted location.

More information about the Ubuntu-motu mailing list