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

Re: [Q] update-menus broken in 1.3?



> 
> Sudhakar Chandrasekharan:
> > That worked.  As you said, there *should* be another way to specify
> > local packages.  Though I can understand why update-menus does not add
> > an item if the package is not installed.
> 
> My preference is that a new test be added (or it might already exist, for
> all I know), like:
> 
> ?file(/usr/local/bin/vim): ...


/usr/doc/menu/BUGS now contains:

  - update-menus: 
?     -package($p) is not general enough!
        (Joey: file(/usr/local/bin/vim))

(the last line I just added).

> The menu package used to allow any menu file starting with "local" to ignore
> whether the package was installed or not, so you could make a local.vim menu
> file. However, then the menu package changed a lot of things, and this no
> longer works.

Yes, that was a bug introduced in menu-1.3. I fixed it now in the
source, but haven't tested it yet (and, just now I checked again
to see whether I fixed it and I saw I did mess it up slightly, but
now it should be OK, I think).


-- 
joost witteveen, joostje@debian.org
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: