Re: yada generated deb not calling update-menus
On Wed, Apr 18, 2007 at 12:32:25AM +0100, Tim Day wrote:
> I (novice deb builder) am building a deb with yada
> I don't have any problems getting a sensible /usr/share/menu
> entry put in place, but it doesn't actually seem to appear in any menus
> until I do a manual sudo update-menus (or install some other package
> which triggers a menu update itself).
> When I look at the postinst file in my yada-generate deb then the only
> thing of note is:
> if [ "" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ];
> then update-menus; fi
> ...which clearly isn't ever going to do anything!
> But I can't figure out what's needed to get yada to (presumably) put
> whatever's needed into those empty quotes so that the configure step
> will call update-menus.
Replacing yada with something non-bletcherous. TTBOMK, the only person
willfully using yada for official Debian packages is the yada author.
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.