diff options
author | Duncan Roe <duncan_roe@optusnet.com.au> | 2018-09-15 17:50:08 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-09-15 17:50:08 +0100 |
commit | 2c92859540456b07fe5fc9a6868585cb161bfad0 (patch) | |
tree | 758cf1e8fee2caee3961b1cfa41af55c0871540c /academic/sage-bin/profile.d | |
parent | 597bb61f960ea2fd31b68e71d1a7ef36cd375164 (diff) | |
download | slackbuilds-2c92859540456b07fe5fc9a6868585cb161bfad0.tar.gz |
academic/sage-bin: Added (python based mathematics software).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/sage-bin/profile.d')
-rw-r--r-- | academic/sage-bin/profile.d/sage.csh | 5 | ||||
-rw-r--r-- | academic/sage-bin/profile.d/sage.sh | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/academic/sage-bin/profile.d/sage.csh b/academic/sage-bin/profile.d/sage.csh new file mode 100644 index 0000000000..280116580f --- /dev/null +++ b/academic/sage-bin/profile.d/sage.csh @@ -0,0 +1,5 @@ +#!/bin/csh +# Add SAGE_ROOT path and MANPATH for Sage: +setenv SAGE_ROOT /opt/SageMath +set path = ( $path ${SAGE_ROOT}/local/bin ) +setenv MANPATH ${MANPATH}:${SAGE_ROOT}/local/share/man diff --git a/academic/sage-bin/profile.d/sage.sh b/academic/sage-bin/profile.d/sage.sh new file mode 100644 index 0000000000..4ba39f4919 --- /dev/null +++ b/academic/sage-bin/profile.d/sage.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# Add SAGE_ROOT PATH and MANPATH for Sage: +export SAGE_ROOT=/opt/SageMath +PATH="$PATH:${SAGE_ROOT}/local/bin" +MANPATH="$MANPATH:${SAGE_ROOT}/local/share/man" |