Commit fcaab791 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Disable backward compatibility for `.noLHCBLoginscript`

this gives us a way of disabling the old AFS scripts, but use the new
ones in ~/.bashrc
parent 61db45da
......@@ -10,7 +10,7 @@
# or submit itself to any jurisdiction. #
###############################################################################
# see cern_profile.sh for documentation
if ( -e "${HOME}" && ! ( -e "${HOME}/.nogrouplogin" || -e "${HOME}/.noLHCBLoginscript" ) ) then
if ( -e "${HOME}" && ! -e "${HOME}/.nogrouplogin" ) then
# customization enabled
foreach _f ( %target_dir%/etc/cern_profile.d/*.csh )
source ${_f}
......
......@@ -24,11 +24,12 @@
# equivalent to _stable_
#
# For backward compatibility we also accept:
# - `.noLHCBLoginscript`: same as `.nogrouplogin`
# - `.noLHCBLoginscript`: same as `.nogrouplogin` (temporarily disabled until
# this script will be commissioned)
# - `.devLHCBLoginscript`: if present, equivalent to `.lbenv_flavour` containing
# _testing_
#
if [ -e "${HOME}" -a ! \( -e "${HOME}/.nogrouplogin" -o -e "${HOME}/.noLHCBLoginscript" \) ] ; then
if [ -e "${HOME}" -a ! \( -e "${HOME}/.nogrouplogin" \) ] ; then
# customization enabled
for _f in %target_dir%/etc/cern_profile.d/*.sh ; do
source ${_f}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment