search for: iterate_start_menu

Displaying 1 result from an estimated 1 matches for "iterate_start_menu".

2009 May 04
0
Re: Wine menus - rebuilding, deleting
...to a newer Ubuntu release - the original menu's had their titles messed up in ~/.local/share/applications/ I rewrote your script to use shell constructs instead of 'find'. I've copied it here for others to play with. Code: #!/bin/sh wine="wine" rm="/bin/rm" iterate_start_menu () { local menu_dir local oldIFS menu_dir=$1 # don't use space as field-separator otherwise "paths with spaces" will fail to parse correctly oldIFS=$IFS IFS=? echo "menu_dir=${menu_dir}" # add a trailing slash to the directory name, then the glob wildcard for entry...