From 8c9ea9d2c2e13435ee69ee4103977cbf638346c4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 25 May 2022 21:00:38 +0200 Subject: setup-disk: fix whitespace error fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13861 --- setup-disk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup-disk.in') diff --git a/setup-disk.in b/setup-disk.in index b5b8756..dd0ed0d 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -1596,7 +1596,7 @@ if [ -z "$SWAP_SIZE" ]; then SWAP_SIZE=$(find_swap_size $diskdevs) fi -if [ -n "$USE_EFI" ] && [ -z "$BOOT_SIZE" ]; then +if [ -n "$USE_EFI" ] && [ -z "$BOOT_SIZE" ]; then blocksize=$(cat $(echo $diskdevs | sed -E -e 's:/dev/([^ ]+):/sys/block/\1/queue/physical_block_size:g') | sort -n | tail -n 1) # calculate minimal FAT32 size # for block size 512 minimal size is 32MB -- cgit v1.2.3