Create missing script

This commit is contained in:
Manuel Thalmann 2024-12-05 09:41:33 +01:00
parent 3758baba8b
commit a94a589c77

View file

@ -11,8 +11,6 @@ function runSetup
source "$dir/../../lib/restoration.fish" source "$dir/../../lib/restoration.fish"
source "$dir/../../lib/settings.fish" source "$dir/../../lib/settings.fish"
set -l mountDir (getOSConfig partition.rootDir) set -l mountDir (getOSConfig partition.rootDir)
set -l script (mktemp)
chmod +x "$script"
if not type -q runChroot if not type -q runChroot
function runChroot -S function runChroot -S
@ -80,7 +78,9 @@ function runSetup
end end
function actionPreRun function actionPreRun
set -l script (mktemp)
echo "Partitioning drives..." echo "Partitioning drives..."
chmod +x "$script"
and getOSConfig partition.script >"$script" and getOSConfig partition.script >"$script"
and "$script" and "$script"
and rm "$script" and rm "$script"