Create missing script

This commit is contained in:
Manuel Thalmann 2024-12-05 09:41:33 +01:00
parent 782155798f
commit f74e1d681c

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"