search for: menu_dir

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

Did you mean: menu_bar
2009 May 04
0
Re: Wine menus - rebuilding, deleting
...e 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 in ${menu_dir}/*; do...