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

Re: Bug in cdd-update-menus



On Tue, Apr 20, 2004 at 10:10:18AM +0200, Andreas Tille wrote:
> ~> ls -l /home/linux/.menu/cdd-menu
> lrwxrwxrwx    1 root     linux          14 2004-04-20 09:43 /home/linux/.menu/cdd-menu -> /usr/share/cdd

it's strange, works for me. I remove ~/.menu/, run cdd-update-menus.

> But this should link to /usr/share/cdd/cdd-menu.  The strange thing is that if
> I do a DRYRUN with echo the right "ln -fs" command is issued.
> 
> Moreover there is no call of /usr/bin/update-menu in the end of the script
> which does the real menu update.  Is this intentional?

Yes, in the sense I'm aware of it and dicided to posticipate decision to
include it in script.
No problem to include it when called as user (not by root with -u), but
I'd prefer to run it somewhere in /etc/X11/Xsession.d/ for example, and
anywhere else it's needed. In this way is a CDD adds/removes menus form
/etc/cdd/<CDD>, script update it as soon as it's needed.

	c.



Reply to: