diff options
Diffstat (limited to 'library/reg/pkgIndex.tcl')
-rwxr-xr-x | library/reg/pkgIndex.tcl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl index d2ed72f..92335f3 100755 --- a/library/reg/pkgIndex.tcl +++ b/library/reg/pkgIndex.tcl @@ -1,9 +1,9 @@ -if {![package vsatisfies [package provide Tcl] 8]} {return} +if {![package vsatisfies [package provide Tcl] 8.5]} {return} if {[string compare $::tcl_platform(platform) windows]} {return} -if {[info exists ::tcl_platform(debug)]} { - package ifneeded registry 1.2.1 \ - [list load [file join $dir tclreg12g.dll] registry] +if {[::tcl::pkgconfig get debug]} { + package ifneeded registry 1.3 \ + [list load [file join $dir tclreg13g.dll] registry] } else { - package ifneeded registry 1.2.1 \ - [list load [file join $dir tclreg12.dll] registry] + package ifneeded registry 1.3 \ + [list load [file join $dir tclreg13.dll] registry] } |