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.


-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Reply via email to