Mercurial > repos > rliterman > csp2
comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/tdbcpostgres1.1.5/pkgIndex.tcl @ 68:5028fdace37b
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 16:23:26 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
67:0e9998148a16 | 68:5028fdace37b |
---|---|
1 # Index file to load the TDBC Postgres package. | |
2 | |
3 if {![package vsatisfies [package provide Tcl] 8.6-]} { | |
4 return | |
5 } | |
6 if {[package vsatisfies [package provide Tcl] 9.0-]} { | |
7 package ifneeded tdbc::postgres 1.1.5 \ | |
8 "[list source [file join $dir tdbcpostgres.tcl]]\;\ | |
9 [list load [file join $dir libtcl9tdbcpostgres1.1.5.so] [string totitle tdbcpostgres]]" | |
10 } else { | |
11 package ifneeded tdbc::postgres 1.1.5 \ | |
12 "[list source [file join $dir tdbcpostgres.tcl]]\;\ | |
13 [list load [file join $dir libtdbcpostgres1.1.5.so] [string totitle tdbcpostgres]]" | |
14 } |