aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/fluxbox-generate_menu6
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
864ETCAPPLNK=/etc/X11/applnk 864ETCAPPLNK=/etc/X11/applnk
865# gnome menu 865# gnome menu
866if [ "${GNOMEMENU}" ]; then 866if [ -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
871fi 871fi
872 872
873# kde submenu 873# kde submenu
874if [ -d "${KDE_PREFIX}/share/applnk/" -a "${KDEMENU}" ]; then 874if [ -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