/usr/lib/treectrl2.2.8/pkgIndex.tcl is in tktreectrl 2.2.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | if {[catch {package require Tcl 8.5}]} return
set script ""
if {![info exists ::env(TREECTRL_LIBRARY)]
&& [file exists [file join $dir treectrl.tcl]]} {
append script "set ::treectrl_library \"$dir\"\n"
}
append script "load \"[file join $dir libtreectrl2.2.so]\" treectrl"
package ifneeded treectrl 2.2.8 $script
|