Stor script name in a variable
This commit is contained in:
parent
781a44895b
commit
92b0c4c82b
1 changed files with 3 additions and 1 deletions
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue