diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-05-03 01:23:03 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-05-04 06:12:04 -0400 |
commit | 7c47f8fac905d5c94c7f76eaf5d6dc842a28f37c (patch) | |
tree | 4301046175dca2ac2405be18483d1678e863bc32 | |
parent | d2d8a81e234ca3fe4cf486a6bb9a8252df5470e6 (diff) |
bugfix .bash_profile
-rw-r--r-- | configs/profile/root-image/etc/skel/.bash_profile | 5 |
1 files changed, 4 insertions, 1 deletions
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') |