[Fai-commit] r4364 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Sat Jun 23 20:37:03 UTC 2007


Author: lange
Date: 2007-06-23 20:37:03 +0000 (Sat, 23 Jun 2007)
New Revision: 4364

Modified:
   trunk/bin/fai-setup
Log:
use mkdir -p


Modified: trunk/bin/fai-setup
===================================================================
--- trunk/bin/fai-setup	2007-06-23 20:35:12 UTC (rev 4363)
+++ trunk/bin/fai-setup	2007-06-23 20:37:03 UTC (rev 4364)
@@ -158,7 +158,7 @@
     echo "Using /srv/fai/config as default."
     FAI_CONFIGDIR=/srv/fai/config
 fi
-[ -d $FAI_CONFIGDIR ] || mkdir -p $FAI_CONFIGDIR
+mkdir -p $FAI_CONFIGDIR
 
 # in expert mode, do not export nfs directories
 if [ -z "$expert" ]; then




More information about the Fai-commit mailing list