This file is indexed.

/usr/share/staden/staden.profile is in staden-common 2.0.0+b11-2.

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
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
# Setup file for Staden software.
# This setup for Bourne shell (sh) users or derivatives (eg bash).
#
# It is not normally necessary to source this file, but some cases may
# still require it. If so it should be sourced from your .profile or
# .bash_profile. E.g.
#
#     . /usr/local/staden-2.0/staden.profile
#
#
#echo 'Setting up the Staden software environment...'

#-- Check for valid root
if test "x$STADENROOT" = "x" -o ! -e "$STADENROOT/share/staden/staden.profile"
then
    echo "STADENROOT environment variable not set or is invalid" 1>&2
    echo "Please set and re-source this file." 1>&2
else


#-- Set all other paths relative to the root.
    STADLIB=$STADENROOT/lib/staden;               export STADLIB
    STADTABL=$STADENROOT/share/staden/etc;        export STADTABL
    STADTCL=$STADENROOT/share/staden/tcl;         export STADTCL
    if [ "$GTAGDB" = "" ]
    then
        GTAGDB=GTAGDB:$HOME/GTAGDB:$STADTABL/GTAGDB;  export GTAGDB
    fi
    
    # Set up PATHS
    [ x"$STADEN_PREPEND" != "x" ] \
    && PATH=$STADENROOT/bin:$PATH \
    || PATH=$PATH:$STADENROOT/bin
    
    if [ "`uname -s`" = "Darwin" ]
    then
        if [ "$DYLD_LIBRARY_PATH" != "" ]
        then
            [ x"$STADEN_PREPEND" != "x" ] \
    	&& DYLD_LIBRARY_PATH=$STADLIB:$DYLD_LIBRARY_PATH \
            || DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$STADLIB:$STADENROOT/lib
        else
            DYLD_LIBRARY_PATH=$STADLIB:$STADENROOT/lib
        fi
        export DYLD_LIBRARY_PATH

	# For binary distributions we bundle portions of MacPorts in
        # with the staden directory. Also uncomment this line and copy
	# over MacPorts/etc/fonts/fonts.conf.
	#
	# FONTCONFIG_PATH=$STADTABL; export FONTCONFIG_PATH
    else
        if [ "$LD_LIBRARY_PATH" != "" ]
        then
            [ x"$STADEN_PREPEND" != "x" ] \
            && LD_LIBRARY_PATH=$STADLIB:$STADENROOT/lib:$LD_LIBRARY_PATH \
            || LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$STADLIB:$STADENROOT/lib
        else
            LD_LIBRARY_PATH=$STADLIB:$STADENROOT/lib
        fi
        export LD_LIBRARY_PATH
    fi
    
    #
    # files for gap4
    #
    # Not explicitly needed - defaults to $STADTABL/GTAGDB
    #
    if [ "$GTAGDB" = "" ]
    then
        GTAGDB="GTAGDB:$HOME/GTAGDB:$STADTABL/GTAGDB";
    fi
    export GTAGDB

fi