summaryrefslogtreecommitdiffstats
path: root/library/http/pkgIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/http/pkgIndex.tcl')
-rw-r--r--library/http/pkgIndex.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/http/pkgIndex.tcl b/library/http/pkgIndex.tcl
index 6122042..4186a43 100644
--- a/library/http/pkgIndex.tcl
+++ b/library/http/pkgIndex.tcl
@@ -8,4 +8,5 @@
# script is sourced, the variable $dir must contain the
# full path name of this file's directory.
-package ifneeded http 2.3.1 [list tclPkgSetup $dir http 2.3.1 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister}}}]
+if {![package vsatisfies [package provide Tcl] 8.2]} {return}
+package ifneeded http 2.3.2 [list tclPkgSetup $dir http 2.3.2 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister}}}]