[Dehs-devel] r130 - trunk

atomo64-guest at alioth.debian.org atomo64-guest at alioth.debian.org
Fri Apr 18 21:39:15 UTC 2008


Author: atomo64-guest
Date: 2008-04-18 21:39:15 +0000 (Fri, 18 Apr 2008)
New Revision: 130

Modified:
   trunk/dehs.sh
Log:
Loop until the pages and files are all successfully updated


Modified: trunk/dehs.sh
===================================================================
--- trunk/dehs.sh	2008-04-12 20:45:40 UTC (rev 129)
+++ trunk/dehs.sh	2008-04-18 21:39:15 UTC (rev 130)
@@ -83,7 +83,9 @@
 done
 
 if [ $update_www -gt 0 ]; then
-	$WORKDIR/update_wwwal.sh >/dev/null || $WORKDIR/update_wwwal.sh >/dev/null
+	while ! $WORKDIR/update_wwwal.sh >/dev/null; do
+		sleep 5
+	done
 fi
 
 rm $LOCK




More information about the Dehs-devel mailing list