Redirect CONFIG_NAME variable properly

This commit is contained in:
Manuel Thalmann 2024-09-12 21:47:29 +02:00
parent d2063ef46e
commit 3f57e1c21a

View file

@ -62,7 +62,13 @@ function runSetup
and begin
set -l script (string escape (getCloneFile (getInstallerScript)))
wrapScript "INSTALLER_SCRIPT=$(string escape "$script") $script"
wrapScript (
string join " " \
"INSTALLER_SCRIPT=$(string escape "$script")" \
"CONFIG_NAME=$(string escape "$CONFIG_NAME")" \
(string escape $script))
end | runChroot "$mountDir" tee /root/.bash_profile > /dev/null
and echo "Setup finished!"