Menu update bug

This is something that is always a risk. Just before releasing Precise Puppy 5.4.1, I fixed a couple of things. I checked them carefully, they seemed OK.

One line in /usr/local/petget/installpkgs.sh is a regular expression pattern to parse /etc/xdg/menus/hierarchy -- but recently I had added "#" comments onto every line in that file, which unbeknown to me broke that pattern. I did a tweak on that section of code in installpkgs.sh just before releasing 5.4.1, but did not pick up on the broken pattern.

The result was that when a package is installed, PPM reports that there is no menu entry, when in fact there is, and thus does not update the menu.
A manual update fixes it:

# fixmenus
# jwm -reload


Anyway, I have fixed installpkg.sh, so the PPM will update the menu.

Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/c3c1a0468d


Posted on 19 Nov 2012, 8:40


No comments posted yet.