projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e532cc
)
Make sure LOGDIR exists
author
Michael Prokop
<devnull@localhost>
Fri, 21 Sep 2007 09:44:49 +0000
(11:44 +0200)
committer
Michael Prokop
<devnull@localhost>
Fri, 21 Sep 2007 09:44:49 +0000
(11:44 +0200)
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
407cc17
..
23052f5
100755
(executable)
--- a/
grml-live
+++ b/
grml-live
@@
-4,7
+4,7
@@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2 or any later version.
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2 or any later version.
-# Latest change:
Thu Sep 20 13:25:31
CEST 2007 [mika]
+# Latest change:
Fri Sep 21 11:44:43
CEST 2007 [mika]
################################################################################
# read configuration files, set some misc variables {{{
################################################################################
# read configuration files, set some misc variables {{{
@@
-63,7
+63,7
@@
trap bailout 1 2 3 15
[ -n "$RELEASENAME" ] || RELEASENAME="grml-live rocks"
[ -n "$LOGDIR" ] || LOGDIR="/var/log/fai/dirinstall/$HOSTNAME"
[ -n "$RELEASENAME" ] || RELEASENAME="grml-live rocks"
[ -n "$LOGDIR" ] || LOGDIR="/var/log/fai/dirinstall/$HOSTNAME"
-[ -d "$LOGDIR" ] || mkdir $LOGDIR
+[ -d "$LOGDIR" ] || mkdir
-p
$LOGDIR
LOGFILE="$LOGDIR/grml-live.conf"
# }}}
LOGFILE="$LOGDIR/grml-live.conf"
# }}}