File: pkgIndex.tcl.in

package info (click to toggle)
tdbcpostgres 1.1.10-2
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 944 kB
  • sloc: ansic: 2,870; sh: 430; tcl: 227; makefile: 57
file content (14 lines) | stat: -rw-r--r-- 612 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
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 @PACKAGE_VERSION@ \
	    "[list source -encoding utf-8 [file join $dir @PACKAGE_NAME@.tcl]]\;\
	    [list load [file join $dir @PKG_LIB_FILE9@] [string totitle @PACKAGE_NAME@]]"
} else {
    package ifneeded tdbc::postgres @PACKAGE_VERSION@ \
	    "[list source -encoding utf-8 [file join $dir @PACKAGE_NAME@.tcl]]\;\
	    [list load [file join $dir @PKG_LIB_FILE8@] [string totitle @PACKAGE_NAME@]]"
}