/etc/profile.d/SBMLToolbox.sh is in sbmltoolbox 4.1.0-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 | TB="/usr/share/SBMLToolbox"
TB_PATH="$TB:\
$TB/AccessModel:\
$TB/AccessModel/Test:\
$TB/Convenience:\
$TB/Convenience/Test:\
$TB/MATLAB_SBML_Structure_Functions:\
$TB/MATLAB_SBML_Structure_Functions/Unit:\
$TB/MATLAB_SBML_Structure_Functions/AssignmentRule:\
$TB/MATLAB_SBML_Structure_Functions/FunctionDefinition:\
$TB/MATLAB_SBML_Structure_Functions/ParameterRule:\
$TB/MATLAB_SBML_Structure_Functions/EventAssignment:\
$TB/MATLAB_SBML_Structure_Functions/Rule:\
$TB/MATLAB_SBML_Structure_Functions/Parameter:\
$TB/MATLAB_SBML_Structure_Functions/Reaction:\
$TB/MATLAB_SBML_Structure_Functions/Test:\
$TB/MATLAB_SBML_Structure_Functions/SpeciesReference:\
$TB/MATLAB_SBML_Structure_Functions/CompartmentVolumeRule:\
$TB/MATLAB_SBML_Structure_Functions/Trigger:\
$TB/MATLAB_SBML_Structure_Functions/structFieldnames:\
$TB/MATLAB_SBML_Structure_Functions/SpeciesConcentrationRule:\
$TB/MATLAB_SBML_Structure_Functions/Event:\
$TB/MATLAB_SBML_Structure_Functions/CompartmentType:\
$TB/MATLAB_SBML_Structure_Functions/StoichiometryMath:\
$TB/MATLAB_SBML_Structure_Functions/ModifierSpeciesReference:\
$TB/MATLAB_SBML_Structure_Functions/Model:\
$TB/MATLAB_SBML_Structure_Functions/KineticLaw:\
$TB/MATLAB_SBML_Structure_Functions/InitialAssignment:\
$TB/MATLAB_SBML_Structure_Functions/Species:\
$TB/MATLAB_SBML_Structure_Functions/RateRule:\
$TB/MATLAB_SBML_Structure_Functions/Priority:\
$TB/MATLAB_SBML_Structure_Functions/AlgebraicRule:\
$TB/MATLAB_SBML_Structure_Functions/Constraint:\
$TB/MATLAB_SBML_Structure_Functions/LocalParameter:\
$TB/MATLAB_SBML_Structure_Functions/UnitDefinition:\
$TB/MATLAB_SBML_Structure_Functions/Compartment:\
$TB/MATLAB_SBML_Structure_Functions/SpeciesType:\
$TB/MATLAB_SBML_Structure_Functions/Delay:\
$TB/Simulation:\
$TB/Simulation/Test:\
$TB/Test:\
$TB/Test/test-data:\
$TB/Validate_MATLAB_SBML_Structures:\
$TB/Validate_MATLAB_SBML_Structures/Test:\
$TB/fbc_package:\
$TB/fbc_package/test:\
$TB/fbc_package/test/test-data:\
$TB/fbc_package/MATLAB_SBML_Structures:\
$TB/fbc_package/MATLAB_SBML_Structures/FluxObjective:\
$TB/fbc_package/MATLAB_SBML_Structures/FBCSpecies:\
$TB/fbc_package/MATLAB_SBML_Structures/test:\
$TB/fbc_package/MATLAB_SBML_Structures/FluxBound:\
$TB/fbc_package/MATLAB_SBML_Structures/structFieldnames:\
$TB/fbc_package/MATLAB_SBML_Structures/Objective:\
$TB/fbc_package/MATLAB_SBML_Structures/FBCModel:\
$TB/fbc_package/Validate_MATLAB_SBML_Structures:\
$TB/fbc_package/Validate_MATLAB_SBML_Structures/test:\
"
echo $OCTAVE_PATH | grep -q $TB || export OCTAVE_PATH="${TB_PATH}${OCTAVE_PATH}"
echo $MATLABPATH | grep -q $TB || export MATLABPATH="${TB_PATH}${MATLABPATH}"
|