File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,14 @@ if ($?old_rootsys) then
161161 -e " s;^$old_rootsys /etc/notebook:;;g" \
162162 -e " s;^$old_rootsys /etc/notebook${DOLLAR} ;;g" `
163163 endif
164+ # Potential leftovers from future ROOT > v6.34
165+ if ($? JUPYTER_CONFIG_PATH) then
166+ setenv JUPYTER_CONFIG_PATH ` set DOLLAR=' $' ; echo $JUPYTER_CONFIG_PATH | \
167+ sed -e " s;:$old_rootsys /etc/notebook:;:;g" \
168+ -e " s;:$old_rootsys /etc/notebook${DOLLAR} ;;g" \
169+ -e " s;^$old_rootsys /etc/notebook:;;g" \
170+ -e " s;^$old_rootsys /etc/notebook${DOLLAR} ;;g" `
171+ endif
164172
165173endif
166174
Original file line number Diff line number Diff line change @@ -78,6 +78,11 @@ clean_environment()
7878 drop_from_path " $JUPYTER_CONFIG_DIR " " ${old_rootsys} /etc/notebook"
7979 JUPYTER_CONFIG_DIR=$newpath
8080 fi
81+ # Potential leftovers from future ROOT > v6.34
82+ if [ -n " ${JUPYTER_CONFIG_PATH-} " ]; then
83+ drop_from_path " $JUPYTER_CONFIG_PATH " " ${old_rootsys} /etc/notebook"
84+ JUPYTER_CONFIG_PATH=$newpath
85+ fi
8186 fi
8287 if [ -z " ${MANPATH-} " ]; then
8388 # Grab the default man path before setting the path to avoid duplicates
You can’t perform that action at this time.
0 commit comments