Refactored to set_partition_paths function

This commit is contained in:
2020-05-15 13:37:14 +02:00
parent 67532d60cb
commit 871646bc64
3 changed files with 8 additions and 4 deletions

View File

@@ -157,8 +157,7 @@ root_mount_path="$working_folder""root/"
mkdir -v "$boot_mount_path"
mkdir -v "$root_mount_path"
boot_partition_path=$(echo_partition_name "1")
root_partition_path=$(echo_partition_name "2")
set_partition_paths
mount_partitions(){
info "Mount boot and root partition..."