From cf6476b4aab698de07ce4ccca53fe244602943fb Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Thu, 1 Aug 2024 15:41:14 -0400 Subject: [PATCH] Fix typos --- gentoo-install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gentoo-install.sh b/gentoo-install.sh index bcf152b..ac7528a 100755 --- a/gentoo-install.sh +++ b/gentoo-install.sh @@ -23,7 +23,7 @@ declare -rA SUBVOLS_DEFAULT=( ["@snapshots"]=".snapshots" ) -gunction show_help() { +function show_help() { echo "Usage: $0 [...]" echo "" echo "Positional Arguments:" @@ -73,6 +73,7 @@ function prepare_disk() { #mkfs.vfat -F 32 -n "EFI" "$RootPart" #mkfs.btrfs -L "System" "$RootPart" fi + fi } function create_luks() { @@ -166,6 +167,7 @@ function prepare_target() { if [[ "$COMPRESSION" ]]; then compopt=",compress=zstd:3" + fi ${cmd} mount -o noatime,space_cache=v2${compopt},ssd,subvol=@ "$rootmount" /mnt/gentoo @@ -412,7 +414,7 @@ RootDisk="$1" if [[ ! -b "$RootDisk" ]]; then echo "ERROR: Invalid parameters. See --help for help" exit 3 -elif +else if [[ "$ENCRYPTION" ]]; then diskdev="${RootDisk##*/}" if [[ "$diskdev" =~ ^nvme.* ]]; then