From: Ulrich Dangel Date: Sun, 14 Feb 2010 22:08:25 +0000 (+0100) Subject: Use $MENUDIR/local if exists for loading menu items X-Git-Tag: v0.1~2 X-Git-Url: http://git.grml.org/?p=grml-quickconfig.git;a=commitdiff_plain;h=be1fb9a99f77b6167b58d4557a09c2c0afb966ee Use $MENUDIR/local if exists for loading menu items --- diff --git a/grml-quickconfig b/grml-quickconfig index 78044c4..aec6456 100755 --- a/grml-quickconfig +++ b/grml-quickconfig @@ -110,7 +110,12 @@ if [ -n "$1" ] ; then fi if [ -z "$MENUDIR" ] ; then - MENUDIR="$SCRIPTDIR" + if [ -d "$SCRIPTDIR/local" ] ; then + MENUDIR="$SCRIPTDIR/local" + + else + MENUDIR="$SCRIPTDIR" + fi fi # }}}