From 7c47f8fac905d5c94c7f76eaf5d6dc842a28f37c Mon Sep 17 00:00:00 2001 From: bill-auger Date: Tue, 3 May 2022 01:23:03 -0400 Subject: bugfix .bash_profile --- configs/profile/root-image/etc/skel/.bash_profile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/profile/root-image/etc/skel/.bash_profile b/configs/profile/root-image/etc/skel/.bash_profile index fec3d92..a25dae9 100644 --- a/configs/profile/root-image/etc/skel/.bash_profile +++ b/configs/profile/root-image/etc/skel/.bash_profile @@ -16,13 +16,16 @@ ENABLE_TTS_BRLTTY='_ENABLE_TTS_BRLTTY_' # speech and braille # customize environment sudo /root/.session/.remote-script.sh sed -i 's|^SESSION=.*|SESSION=_UNDEFINED_|' /root/.session/.session_state -(( $IS_INITIAL_TTY )) && sudo /root/.session/.session-init.sh +(( $IS_INITIAL_TTY )) && sudo /root/.session/session-init.sh Session=$(grep 'SESSION=' /root/.session/.session_state | cut -d '=' -f 2) +sed -i 's|^SESSION=.*|SESSION=_UNDEFINED_|' /root/.session/.session_state export $(cat /etc/locale.conf) + # launch accessibility features [[ "$ENABLE_TTS_BRLTTY" == 'true' ]] && flock -n /run/talk-to-me.lck /usr/bin/talk-to-me + # launch X, installer, or CLI case ${Session} in 'calamares'|'live') -- cgit v1.2.2