summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl/lib/tdbc1.1.2/pkgIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tltcl/lib/tdbc1.1.2/pkgIndex.tcl')
-rw-r--r--Master/tlpkg/tltcl/lib/tdbc1.1.2/pkgIndex.tcl18
1 files changed, 0 insertions, 18 deletions
diff --git a/Master/tlpkg/tltcl/lib/tdbc1.1.2/pkgIndex.tcl b/Master/tlpkg/tltcl/lib/tdbc1.1.2/pkgIndex.tcl
deleted file mode 100644
index 6b0204ae868..00000000000
--- a/Master/tlpkg/tltcl/lib/tdbc1.1.2/pkgIndex.tcl
+++ /dev/null
@@ -1,18 +0,0 @@
-# Index file to load the TDBC package.
-
-# Make sure that TDBC is running in a compatible version of Tcl, and
-# that TclOO is available.
-
-if {[catch {package present Tcl 8.5-}]} {
- return
-}
-apply {{dir} {
- set libraryfile [file join $dir tdbc.tcl]
- if {![file exists $libraryfile] && [info exists ::env(TDBC_LIBRARY)]} {
- set libraryfile [file join $::env(TDBC_LIBRARY) tdbc.tcl]
- }
- package ifneeded tdbc 1.1.2 \
- "package require TclOO 1.0-;\
- [list load [file join $dir tdbc112.dll] tdbc]\;\
- [list source $libraryfile]"
-}} $dir