diff options
author | rathnor <rathnor> | 2003-08-02 15:08:06 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-08-02 15:08:06 (GMT) |
commit | 6bbc5c43ca469d70710887e3b7ae5b5dbecb1ca8 (patch) | |
tree | f9211b8ff839812684137f2f163f848f15f04450 | |
parent | 37728a256eb217639f38354354122a023a051a0b (diff) | |
download | fluxbox_paul-6bbc5c43ca469d70710887e3b7ae5b5dbecb1ca8.zip fluxbox_paul-6bbc5c43ca469d70710887e3b7ae5b5dbecb1ca8.tar.bz2 |
tweak
-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 |