summaryrefslogtreecommitdiff
path: root/configs/profile/root-image/etc/skel/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to 'configs/profile/root-image/etc/skel/.bash_profile')
-rw-r--r--configs/profile/root-image/etc/skel/.bash_profile12
1 files changed, 7 insertions, 5 deletions
diff --git a/configs/profile/root-image/etc/skel/.bash_profile b/configs/profile/root-image/etc/skel/.bash_profile
index a25dae9..75b9903 100644
--- a/configs/profile/root-image/etc/skel/.bash_profile
+++ b/configs/profile/root-image/etc/skel/.bash_profile
@@ -14,11 +14,13 @@ 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
-Session=$(grep 'SESSION=' /root/.session/.session_state | cut -d '=' -f 2)
-sed -i 's|^SESSION=.*|SESSION=_UNDEFINED_|' /root/.session/.session_state
+INSTALL_WIZARD_STATE_FILE=/var/lib/parabola-install-wizard/.session_state
+INSTALL_WIZARD_INIT_FILE=/usr/lib/parabola-install-wizard/session-init.sh
+sudo /root/.remote-script.sh
+sed -i 's|^SESSION=.*|SESSION=_UNDEFINED_|' ${INSTALL_WIZARD_STATE_FILE}
+(( $IS_INITIAL_TTY )) && sudo ${INSTALL_WIZARD_INIT_FILE}
+Session=$(grep 'SESSION=' ${INSTALL_WIZARD_STATE_FILE} | cut -d '=' -f 2)
+sed -i 's|^SESSION=.*|SESSION=_UNDEFINED_|' ${INSTALL_WIZARD_STATE_FILE}
export $(cat /etc/locale.conf)