aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/fluxbox-generate_menu.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in
index 525315c..33b0153 100755
--- a/util/fluxbox-generate_menu.in
+++ b/util/fluxbox-generate_menu.in
@@ -330,13 +330,13 @@ searchForIcon(){
330 # echo "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" 330 # echo "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>"
331 if [ -f "$entry_icon" ]; then 331 if [ -f "$entry_icon" ]; then
332 # if icon exists and entry does not already exists, add it 332 # if icon exists and entry does not already exists, add it
333 if ! grep -q -m 1 "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" $ICONMAPPING 2> /dev/null; then 333 if ! grep -q -m 1 "^.${execname}.[[:space:]]*<.*/${icon_base}\....>" $ICONMAPPING 2> /dev/null; then
334 printf "\"${entry_exec}\" \t <${entry_icon}>\n" >> $ICONMAPPING 334 printf "\"${execname}\" \t <${entry_icon}>\n" >> $ICONMAPPING
335 else 335 else
336 : echo "# mapping already exists for ${entry_exec}" >> $ICONMAPPING 336 : echo "# mapping already exists for ${execname}" >> $ICONMAPPING
337 fi 337 fi
338 else 338 else
339 echo "# No icon file found for $entry_exec" >> $ICONMAPPING 339 echo "# No icon file found for $execname" >> $ICONMAPPING
340 fi 340 fi
341} 341}
342 342