[Fai-commit] r3343 - trunk/bin

fai-repository at svn.debian.org fai-repository at svn.debian.org
Tue Mar 28 16:26:59 UTC 2006


Author: lange
Date: 2006-03-28 16:26:58 +0000 (Tue, 28 Mar 2006)
New Revision: 3343

Modified:
   trunk/bin/make-fai-nfsroot
Log:
add warning if $FAI_LOCAL_REPOSITORY is still used


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2006-03-28 16:26:43 UTC (rev 3342)
+++ trunk/bin/make-fai-nfsroot	2006-03-28 16:26:58 UTC (rev 3343)
@@ -305,7 +305,7 @@
     chmod a+rx $NFSROOT/etc/rc2.d/S01fai_abort
 
     # IMO this may be removed, since all information should be included into sources.list
-    echo -e "\n$FAI_LOCAL_REPOSITORY" >> etc/apt/sources.list
+    [ -n "$FAI_LOCAL_REPOSITORY" ] && echo "WARNING: The use of \$FAI_LOCAL_REPOSITORY is now deprecated. Please include this information into sources.list."
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 upgrade_nfsroot() {




More information about the Fai-commit mailing list