[Fai-commit] r3725 - trunk/bin
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Tue Aug 1 19:56:54 UTC 2006
Author: lange
Date: 2006-08-01 19:56:53 +0000 (Tue, 01 Aug 2006)
New Revision: 3725
Modified:
trunk/bin/fai-debconf
Log:
create diffs only if debconf-get-selections is available in $target,
during an initial installation we do not have this command available
at this early stage
Modified: trunk/bin/fai-debconf
===================================================================
--- trunk/bin/fai-debconf 2006-08-01 18:48:28 UTC (rev 3724)
+++ trunk/bin/fai-debconf 2006-08-01 19:56:53 UTC (rev 3725)
@@ -26,7 +26,7 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#*********************************************************************
-version="version 1.2, 23-july-2006"
+version="version 1.2.1, 1-august-2006"
# variables needed: $classes, $ROOTCMD, $LOGDIR, $target
@@ -62,7 +62,7 @@
local packages p
[ -s $LOGDIR/debconf.data ] || return # nothing to do if is size 0 or missing
- if [ -x /usr/bin/diff -a -r $LOGDIR/debconf.old ] ; then
+ if [ -x $target/usr/bin/debconf-get-selections -a -r $LOGDIR/debconf.old ] ; then
$ROOTCMD debconf-get-selections > $LOGDIR/debconf.new
diff --changed-group-format="%>" --unchanged-line-format="" \
$LOGDIR/debconf.old $LOGDIR/debconf.new > $LOGDIR/debconf.data
More information about the Fai-commit
mailing list