On Sat, Nov 19, 2005 at 07:13:45PM +0100, Bill Allombert wrote:
> On Sun, Jan 07, 2001 at 05:35:18PM +0100, Yann Dirson wrote:
> > Package: menu
> > Version: 2.1.5-6
> > Severity: wishlist
> > 
> > I only user ~/.menu temporarily to test things.  When I'm done
> > testing, I'd like to be able to run something like "update-menus
> > --remove" to suppress those files that were created, instead of
> > hunting them by hand.
> 
> Hello Yann,
> 
> Are you still interested by this feature ?

Well, for when testing menu modifications, yes - but I do not plan to
do that in the short term :)

> I have a patch that implement it (with some caveats).
> This patch add a --remove option to update-menus.
> This cause update-menus to call the menu method with --remove.
> install-menu --remove will run the command in the config option
> removemenu.
> For example:
> removemenu="test -d " prefix() " && find " prefix() " -type f -exec rm {} \\;"
> 
> The problem is that currently no menu-methods provide such 
> config options.
> 
> Do you think there are situations where install-menu could be smart
> enough to remove the menu without the need for removemenu ?

There are quite a number of menu-methods specifying a fixed name for
"genmenu".  Couldn't that be used to tell what needs to be removed ?

Best regards,
-- 
Yann Dirson    <[EMAIL PROTECTED]> |
Debian-related: <[EMAIL PROTECTED]> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to