Execute partitioning in fish directly

This commit is contained in:
Manuel Thalmann 2024-07-13 11:23:14 +02:00
parent 8715109e6e
commit ba427608ef

View file

@ -8,8 +8,10 @@ begin
set -l projectRoot (realpath "$dir/../../..")
set -l projectName (basename "$projectRoot")
set -l PROJECT_CLONE_ROOT "/opt/$(basename "$projectName")"
set -l script (mktemp)
CONFIG_MODULE=$CONFIG_MODULE bash "$dir/partition.sh"
getConfig valhalla.partition.script > "$script"
bash "$script"
and source "$dir/../../copy-repo.fish" "$mountDir$PROJECT_CLONE_ROOT"
and runHook setupOS || true