Stor script name in a variable

This commit is contained in:
Manuel Thalmann 2024-07-13 13:23:16 +02:00
parent ecb264d747
commit cd819b5996

View file

@ -43,9 +43,11 @@ begin
and runHook autologin || true
and begin
set -l script (string escape (getCloneFile (getInstallerScript)))
printf %s\n \
"export CONFIG_MODULE=$(string escape (getCloneFile "$CONFIG_MODULE"))" \
(string escape (getCloneFile (getInstallerScript)))
"export INSTALLER_SCRIPT=$script" \
"$script"
end | chroot "$mountDir" tee /root/.bash_profile > /dev/null
and echo "Setup finished!"