From 9abbba374ae7d76398a5eea23c0a9af3a130d250 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Aug 28 2018 16:18:54 +0000 Subject: Fix missing quotes, remove else note on resize. --- diff --git a/arm-image-installer b/arm-image-installer index fdf97f7..6b5656c 100755 --- a/arm-image-installer +++ b/arm-image-installer @@ -380,7 +380,7 @@ if [ "$RESIZEFS" != "" ]; then FS_TYPE=$(sudo blkid "$ROOTPART" | cut -d'"' -f 6) fi - if [ "$FS_TYPE" = "xfs" ] && [ $LVM_NAME != "" ]; then + if [ "$FS_TYPE" = "xfs" ] && [ "$LVM_NAME" != "" ]; then mkdir /tmp/root &> /dev/null mount "$ROOTPART" /tmp/root &> /dev/null xfs_growfs /tmp/root @@ -395,8 +395,6 @@ if [ "$RESIZEFS" != "" ]; then LVM_NAME=fedora ROOTPART="/dev/$LVM_NAME/root" fi -else - echo "= NOTE: Manual partition resizing is required." fi # make temp mount points