cvs: phpweb /bin update-mirrors
| From: | Jim Winstead | Date: | Wed, 19 Sep 2001 20:04:17 +0000 |
| Subject: | cvs: phpweb /bin update-mirrors | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6467@lists.php.net to get a copy of this message | ||
jimw Wed Sep 19 16:04:17 2001 EDT
Modified files:
/phpweb/bin update-mirrors
Log:
oops, want and, not or
Index: phpweb/bin/update-mirrors
diff -u phpweb/bin/update-mirrors:1.2 phpweb/bin/update-mirrors:1.3
--- phpweb/bin/update-mirrors:1.2 Wed Sep 19 14:10:31 2001
+++ phpweb/bin/update-mirrors Wed Sep 19 16:04:16 2001
@@ -1,7 +1,7 @@
#!/bin/sh
lynx -source http://www.php.net/bin/mirrors.php
> include/mirrors.inc~
-if [ $? -ne 0 -a ! -s include/mirrors.inc~ ]; then
+if [ $? -ne 0 -o ! -s include/mirrors.inc~ ]; then
rm -f include/mirrors.inc~
echo problem converting results to html
exit 1