From 0ec4d8c1fcfb594b3dc90e3fa9d4fe1139abddab Mon Sep 17 00:00:00 2001 From: rootzoll Date: Mon, 13 Jan 2025 22:42:07 +0100 Subject: [PATCH] fix if --- home.admin/config.scripts/blitz.data.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home.admin/config.scripts/blitz.data.sh b/home.admin/config.scripts/blitz.data.sh index da8b50c4d..b705bd373 100644 --- a/home.admin/config.scripts/blitz.data.sh +++ b/home.admin/config.scripts/blitz.data.sh @@ -621,7 +621,7 @@ if [ "$1" = "setup" ]; then # PARTITION & FORMAT # SYSTEM (single drive) - if [ "${setupType}"="SEPERATE-SYSTEM" ]; then + if [ "${setupType}" = "SEPERATE-SYSTEM" ]; then echo "# SYSTEM" echo "# .. partitioning" sfdisk --delete /dev/${setupDevice} 2>/dev/null @@ -635,7 +635,7 @@ if [ "$1" = "setup" ]; then mkfs -t ext4 /dev/${setupDevicePartitionBase}2 # STOARGE with System - elif [ "${setupType}"="STORAGE" ] && [ ${setupBootFromStorage} -eq 1 ]; then + elif [ "${setupType}" = "STORAGE" ] && [ ${setupBootFromStorage} -eq 1 ]; then echo "# STORAGE (with system)" echo "# .. partitioning" sfdisk --delete /dev/${setupDevice} 2>/dev/null @@ -653,7 +653,7 @@ if [ "$1" = "setup" ]; then mkfs -t ext4 /dev/${setupDevicePartitionBase}3 # STOARGE (single drive OR host for seperate data & system) - elif [ "${setupType}"="STORAGE" ] && [ ${setupBootFromStorage} -eq 0 ]; then + elif [ "${setupType}" = "STORAGE" ] && [ ${setupBootFromStorage} -eq 0 ]; then echo "# STORAGE" echo "# .. partitioning" sfdisk --delete /dev/${setupDevice} 2>/dev/null @@ -665,7 +665,7 @@ if [ "$1" = "setup" ]; then mkfs -t ext4 /dev/${setupDevicePartitionBase}1 # DATA (single drive) - elif [ "${setupType}"="SEPERATE-DATA" ]; then + elif [ "${setupType}" = "SEPERATE-DATA" ]; then echo "# DATA" echo "# .. partitioning" sfdisk --delete /dev/${setupDevice} 2>/dev/null