From 92b0c4c82bbe8d43805dd1d92cb334f5531548ad Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 13 Jul 2024 13:23:16 +0200 Subject: [PATCH] Stor script name in a variable --- scripts/Common/OS/setup.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Common/OS/setup.fish b/scripts/Common/OS/setup.fish index 7e2e1b43..e06c75a3 100644 --- a/scripts/Common/OS/setup.fish +++ b/scripts/Common/OS/setup.fish @@ -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!"