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