]> git.lyx.org Git - features.git/commitdiff
use Inetc plug-in for downloading, which is more stable
authorJoost Verburg <joostverburg@users.sourceforge.net>
Wed, 6 Aug 2008 21:08:49 +0000 (21:08 +0000)
committerJoost Verburg <joostverburg@users.sourceforge.net>
Wed, 6 Aug 2008 21:08:49 +0000 (21:08 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26083 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/installer/setup/install.nsh

index 41370f37938a9c1211ef231d721142b8ab152bac..de81eef7a9fc23e381c8e48354b8d5141cf54191 100644 (file)
@@ -134,7 +134,7 @@ SectionEnd
 
 !macro DOWNLOAD_FILE RET ID FILENAME APPEND
 
-  # Downloads a file using the InetLoad plug-in (HTTP or FTP)
+  # Downloads a file using the Inetc plug-in (HTTP or FTP)
   
   # RET = Return value (OK if succesful)
   # ID = Name of the download in settings.nsh
@@ -142,12 +142,12 @@ SectionEnd
   # APPEND = Filename to append to server location in settings.nsh
 
   # Try first mirror server
-  InetLoad::load "${DOWNLOAD_${ID}}${APPEND}" "$PLUGINSDIR\${FILENAME}" /END
+  Inetc::get "${DOWNLOAD_${ID}}${APPEND}" "$PLUGINSDIR\${FILENAME}" /END
   Pop ${RET} # Return value (OK if succesful)
 
   ${If} ${RET} != "OK"
     # Download failed, try second mirror server
-    InetLoad::load "${DOWNLOADALT_${ID}}${APPEND}" "$PLUGINSDIR\${FILENAME}" /END
+    Inetc::get "${DOWNLOADALT_${ID}}${APPEND}" "$PLUGINSDIR\${FILENAME}" /END
     Pop ${RET}
   ${EndIf}