Fix incorrect variable assignment
This commit is contained in:
parent
2d75518a18
commit
1aadd4b9d3
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@ swapSize="$(echo "$memory" | awk '{ print int(($1 / 4) + 0.5)}')";
|
||||||
} | fdisk "$archDisk";
|
} | fdisk "$archDisk";
|
||||||
|
|
||||||
disks=($(bash -c "echo $archDisk*"));
|
disks=($(bash -c "echo $archDisk*"));
|
||||||
bootDisk="${disks[0]}";
|
bootDisk="${disks[1]}";
|
||||||
swapDisk="${disks[1]}";
|
swapDisk="${disks[2]}";
|
||||||
linuxDisk="${disks[2]}";
|
linuxDisk="${disks[3]}";
|
||||||
|
|
||||||
mkfs.fat -F 32 "$bootDisk";
|
mkfs.fat -F 32 "$bootDisk";
|
||||||
mkswap "$swapDisk";
|
mkswap "$swapDisk";
|
||||||
|
|
Loading…
Reference in a new issue