projects
/
grml-quickconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
729088a
)
Use $MENUDIR/local if exists for loading menu items
author
Ulrich Dangel
<uli@spamt.net>
Sun, 14 Feb 2010 22:08:25 +0000
(23:08 +0100)
committer
Ulrich Dangel
<uli@spamt.net>
Sun, 14 Feb 2010 22:08:25 +0000
(23:08 +0100)
grml-quickconfig
patch
|
blob
|
history
diff --git
a/grml-quickconfig
b/grml-quickconfig
index
78044c4
..
aec6456
100755
(executable)
--- 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
# }}}