diff --git a/alis-commons.sh b/alis-commons.sh index 2bef20b9..a6940db8 100755 --- a/alis-commons.sh +++ b/alis-commons.sh @@ -423,7 +423,7 @@ function partition_options() { PARTITION_OPTIONS_BOOT="defaults" PARTITION_OPTIONS="defaults" - if [ BIOS_TYPE == "uefi" ]; then + if [ "$$BIOS_TYPE" == "uefi" ]; then PARTITION_OPTIONS_BOOT="$PARTITION_OPTIONS_BOOT,uid=0,gid=0,fmask=0077,dmask=0077" fi if [ "$DEVICE_TRIM" == "true" ]; then