]> git.sven.stormbind.net Git - sven/tclcurl.git/blobdiff - packages/Windows/SetUp.tcl
Imported Upstream version 7.22.0
[sven/tclcurl.git] / packages / Windows / SetUp.tcl
index f59f10fb42913835179c05e7ec3240ef73e77329..96dd0427794d7eaf1204d2214b44e492987fe131 100755 (executable)
@@ -1,8 +1,8 @@
-# This script installs TclCurl in a Windows system, you only
+# This script inst`pwd+alls TclCurl in a Windows system, you only
 # have to double-click on it and, provided Tcl/Tk is already
 # installed, TclCurl will be ready to use.
 #
-# Copyright (c) 2001-2009 Andres Garcia Garcia.
+# Copyright (c) 2001-2011 Andres Garcia Garcia.
 #
 # See the file "license.terms" for information on usage and redistribution
 # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
@@ -14,17 +14,19 @@ set tclLibDir     [file dirname $tcl_library]
 set tclBinDir     [file join [file dirname $tclLibDir] bin]
 set windowsSystem [file join $env(windir) SYSTEM]
 
+cd [file dirname [info script]]
+
 foreach oldie [glob -nocomplain $tclLibDir/tclcurl*] {
     catch {file delete -force $oldie}
 }
 
-file copy -force tclcurl7.19.6 $tclLibDir
+file copy -force tclcurl7.22.0 $tclLibDir
 
 foreach sslFile [glob -nocomplain ssl/*] {
     catch {file copy -force $sslFile $windowsSystem}
 }
 foreach sslFile [glob -nocomplain certs/*] {
-    file copy -force $sslFile [file join $env(windir) curl-ca-bundle.crt]
+    file copy -force $sslFile [file join $env(windir) cacert.pem]
 }
 
 package forget TclCurl