diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/fluxbox-generate_menu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/fluxbox-generate_menu b/util/fluxbox-generate_menu index 1021aae..9eebfd2 100755 --- a/util/fluxbox-generate_menu +++ b/util/fluxbox-generate_menu | |||
@@ -22,7 +22,7 @@ | |||
22 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | # DEALINGS IN THE SOFTWARE. | 23 | # DEALINGS IN THE SOFTWARE. |
24 | # | 24 | # |
25 | # $Id: fluxbox-generate_menu,v 1.44 2003/08/02 14:54:05 rathnor Exp $ | 25 | # $Id: fluxbox-generate_menu,v 1.45 2003/08/02 15:08:06 rathnor Exp $ |
26 | 26 | ||
27 | # | 27 | # |
28 | # Portability notes: | 28 | # Portability notes: |
@@ -863,7 +863,7 @@ append_menu_end | |||
863 | # We'll only use this once | 863 | # We'll only use this once |
864 | ETCAPPLNK=/etc/X11/applnk | 864 | ETCAPPLNK=/etc/X11/applnk |
865 | # gnome menu | 865 | # gnome menu |
866 | if [ "${GNOMEMENU}" ]; then | 866 | if [ -n "${GNOMEMENU}" ]; then |
867 | append_submenu "${GNOMEMENUTEXT}" | 867 | append_submenu "${GNOMEMENUTEXT}" |
868 | recurse_dir_menu "${GNOME_PREFIX}/share/gnome/apps" "$HOME/.gnome/apps" ${ETCAPPLNK} | 868 | recurse_dir_menu "${GNOME_PREFIX}/share/gnome/apps" "$HOME/.gnome/apps" ${ETCAPPLNK} |
869 | append_menu_end | 869 | append_menu_end |
@@ -871,7 +871,7 @@ if [ "${GNOMEMENU}" ]; then | |||
871 | fi | 871 | fi |
872 | 872 | ||
873 | # kde submenu | 873 | # kde submenu |
874 | if [ -d "${KDE_PREFIX}/share/applnk/" -a "${KDEMENU}" ]; then | 874 | if [ -n "${KDEMENU}" ]; then |
875 | append_submenu "${KDEMENUTEXT}" | 875 | append_submenu "${KDEMENUTEXT}" |
876 | recurse_dir_menu "${KDE_PREFIX}/share/applnk" "$HOME/.kde/share/applnk" ${ETCAPPLNK} | 876 | recurse_dir_menu "${KDE_PREFIX}/share/applnk" "$HOME/.kde/share/applnk" ${ETCAPPLNK} |
877 | append_menu_end | 877 | append_menu_end |