[Fai-commit] r3393 - trunk/lib
fai-repository at svn.debian.org
fai-repository at svn.debian.org
Sun Apr 9 13:53:45 UTC 2006
Author: lange
Date: 2006-04-09 13:53:44 +0000 (Sun, 09 Apr 2006)
New Revision: 3393
Modified:
trunk/lib/subroutines-linux
Log:
debugging of updatebase can be done by reading the log file
Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux 2006-04-09 13:40:18 UTC (rev 3392)
+++ trunk/lib/subroutines-linux 2006-04-09 13:53:44 UTC (rev 3393)
@@ -145,11 +145,7 @@
# maybe the base system is not up to date
echo "Updating base"
- if [ "$debug" ]; then
- updatebase | tee -a $LOGDIR/updatebase.log 2>&1
- else
- updatebase > $LOGDIR/updatebase.log 2>&1
- fi
+ updatebase > $LOGDIR/updatebase.log 2>&1
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
task_instsoft() {
@@ -180,6 +176,8 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
task_chboot() {
+ # the whole subroutine may be an externel script
+
[ -z "$LOGUSER" ] && return # silently return from subroutine
local frsh
More information about the Fai-commit
mailing list