/usr/share/ftools/fv/fvInit.tcl is in ftools-fv 5.4+dfsg-4.
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 9 10 11 12 13 14 15 | global env
if {$tcl_platform(platform) == "windows"} {
set fullname [info nameofexecutable]
set home [file dirname $fullname]
set env(FV_HOME) [file dirname $home]
set libdir [file join $env(FV_HOME) lib]
set env(FITSVIEWER_LIBRARY) [file join $libdir fv]
}
# Add auto_load path
lappend auto_path [file join "$env(FITSVIEWER_LIBRARY)" class]
eval fvInit $argv
|