Fix typos
This commit is contained in:
parent
f1476e18a8
commit
cf6476b4aa
1 changed files with 4 additions and 2 deletions
|
@ -23,7 +23,7 @@ declare -rA SUBVOLS_DEFAULT=(
|
|||
["@snapshots"]=".snapshots"
|
||||
)
|
||||
|
||||
gunction show_help() {
|
||||
function show_help() {
|
||||
echo "Usage: $0 <disk> [<options>...]"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue