summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/tlpkg/tltcl/lib/tdbcmysql1.1.3/pkgIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/tltcl/lib/tdbcmysql1.1.3/pkgIndex.tcl')
-rw-r--r--systems/texlive/tlnet/tlpkg/tltcl/lib/tdbcmysql1.1.3/pkgIndex.tcl14
1 files changed, 14 insertions, 0 deletions
diff --git a/systems/texlive/tlnet/tlpkg/tltcl/lib/tdbcmysql1.1.3/pkgIndex.tcl b/systems/texlive/tlnet/tlpkg/tltcl/lib/tdbcmysql1.1.3/pkgIndex.tcl
new file mode 100644
index 0000000000..6ce12b61a8
--- /dev/null
+++ b/systems/texlive/tlnet/tlpkg/tltcl/lib/tdbcmysql1.1.3/pkgIndex.tcl
@@ -0,0 +1,14 @@
+# Index file to load the TDBC MySQL package.
+
+if {![package vsatisfies [package provide Tcl] 8.6-]} {
+ return
+}
+if {[package vsatisfies [package provide Tcl] 9.0-]} {
+ package ifneeded tdbc::mysql 1.1.3 \
+ "[list source [file join $dir tdbcmysql.tcl]]\;\
+ [list load [file join $dir tcl9tdbcmysql113.dll] [string totitle tdbcmysql]]"
+} else {
+ package ifneeded tdbc::mysql 1.1.3 \
+ "[list source [file join $dir tdbcmysql.tcl]]\;\
+ [list load [file join $dir tdbcmysql113.dll] [string totitle tdbcmysql]]"
+}