[Fai-commit] r6618 - trunk/lib
Thomas Lange
lange at alioth.debian.org
Wed Jul 20 19:43:20 UTC 2011
Author: lange
Date: 2011-07-20 19:43:20 +0000 (Wed, 20 Jul 2011)
New Revision: 6618
Modified:
trunk/lib/get-config-dir
Log:
check if $FAI is defined
Modified: trunk/lib/get-config-dir
===================================================================
--- trunk/lib/get-config-dir 2011-07-20 17:11:03 UTC (rev 6617)
+++ trunk/lib/get-config-dir 2011-07-20 19:43:20 UTC (rev 6618)
@@ -3,7 +3,7 @@
# $Id$
#
# (c) 2006 Henning Glawe <glaweh at debian.org>
-# (c) 2009-2010 Thomas Lange <lange at debian.org>
+# (c) 2009-2011 Thomas Lange <lange at debian.org>
### BEGIN SUBROUTINE INFO
# Provides-Var:
@@ -36,6 +36,8 @@
echo
fi
+[ -z "$FAI" -a $method != "file" ] && echo "WARNING: \$FAI is undefined. Let's see if it still works."
+
# run get-config-dir-$method script if it exists
if which get-config-dir-$method &>/dev/null ; then
get-config-dir-$method
More information about the Fai-commit
mailing list