openbsd-ports/x11/fluxbox/patches/patch-util_fluxbox-generate_menu_in
david 690dc44f79 update to fluxbox-0.9.14; ok niallo@ anriot@ long ago and tested by many others
I had resisted this update until now thinking incorrectly that the vendor
would release a new version.  The background color was broken in all the
included styles and was clearly not tested.  So 4 months later here I am
patching 25 files instead. Sigh.

As a plus however, fluxbox no longer conflicts with blackbox.
2006-01-25 03:57:43 +00:00

13 lines
803 B
Plaintext

$OpenBSD: patch-util_fluxbox-generate_menu_in,v 1.6 2006/01/25 03:57:44 david Exp $
--- util/fluxbox-generate_menu.in.orig Thu Aug 25 11:52:50 2005
+++ util/fluxbox-generate_menu.in Mon Jan 23 03:36:56 2006
@@ -343,7 +343,7 @@ searchForIcon(){
# echo "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>"
if [ -f "$entry_icon" ]; then
# if icon exists and entry does not already exists, add it
- if ! grep -q -m 1 "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" $ICONMAPPING 2> /dev/null; then
+ if ! grep -q "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" $ICONMAPPING 2> /dev/null; then
echo -e "\"${entry_exec}\" \t <${entry_icon}>" >> $ICONMAPPING
else
: echo "# mapping already exists for ${entry_exec}" >> $ICONMAPPING