Create missing script
This commit is contained in:
parent
3758baba8b
commit
a94a589c77
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue