]> code.citadel.org Git - citadel.git/commitdiff
* newinstall.sh: once again, prefer wget over curl. At least one user
authorArt Cancro <ajc@citadel.org>
Thu, 13 Oct 2005 03:31:16 +0000 (03:31 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 13 Oct 2005 03:31:16 +0000 (03:31 +0000)
  reported a problem where the -O option to curl was not available.  Also
  changed -O to --remote-name in the hope that this works better

citadel/ChangeLog
citadel/newinstall.sh

index b36894e5a1c9a7ab9669d912c5c9bb2b5a427d13..8391831d2b7c7f1be325c7adf3542df17300e86c 100644 (file)
@@ -1,3 +1,8 @@
+Wed Oct 12 23:30:18 EDT 2005 Art Cancro <ajc@uncensored.citadel.org>
+* newinstall.sh: once again, prefer wget over curl.  At least one user
+  reported a problem where the -O option to curl was not available.  Also
+  changed -O to --remote-name in the hope that this works better.
+
 Wed Oct 12 17:32:05 EDT 2005 Art Cancro <ajc@uncensored.citadel.org>
 * imap_search.c: when fulltext index is enabled, avoid doing a slow search
   on each message when BODY is requested.  Messages are already qualified
index 4548a7fcc2b2c5ae0625b1625d3fda9e4c443bd0..eaf1526eacc711e7de578e22c689b24c76be246f 100644 (file)
@@ -366,8 +366,8 @@ clear
 
 os=`uname`
 
-[ -z "$WGET" ] && [ -x `which curl` ] && WGET=`which curl`\ -O
 [ -z "$WGET" ] && [ -x `which wget` ] && WGET=`which wget`
+[ -z "$WGET" ] && [ -x `which curl` ] && WGET=`which curl`\ --remote-name
 
 echo MAKE is $MAKE
 echo WGET is $WGET