From dcd8b8b5cd16621b5a1ef8538ff1c4ac252f7d56 Mon Sep 17 00:00:00 2001 From: thiblizz <101073848+thiblizz@users.noreply.github.com> Date: Sun, 15 Oct 2023 04:01:05 +0200 Subject: [PATCH] fix: minor typos --- README.md | 8 ++++---- configure | 10 +++++----- gentoo.conf.example | 8 ++++---- install | 2 +- scripts/utils.sh | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index a752df7..1156883 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Only certain VPS hosters may require you to use BIOS still (time to write to the Don't install a bootloader when this script is done, except you absolutely need one. The kernel can directly be booted by EFI without need for a bootloader. By default, this script will use efibootmgr to add a bootentry directly to your "mainboard's bootselect" (typically F12). -Nowadays, there's just no reason use GRUB, syslinux, or similar bootloaders by default. +Nowadays, there's just no reason to use GRUB, syslinux, or similar bootloaders by default. They only add additional time to your boot, and even dualbooting Windows works just fine without one. Only if you require frequent editing of kernel parameters, or want kernel autodiscovery from attached media you might want to consider using one of these. For the average (advanced) user this isn't necessary. @@ -153,7 +153,7 @@ If you want to add more boot options or want to learn about efibootmgr, refer to I recommend using a modern file system like ZFS, both on desktops and servers. It provides transparent block-level compression, instant snapshots and full-disk encryption. -Generally encrypting your root fs doesn't cost you anything and protects your data in case you lose your device. +Generally, encrypting your root fs doesn't cost you anything and protects your data in case you lose your device. #### Systemd vs OpenRC @@ -171,7 +171,7 @@ Make of this what you will, both have their own quirks. Choose your poison. #### Miscellaneous -- Use the newer iwd for WIFI instead of wpa_supplicant +- Use the newer iwd for WiFi instead of wpa_supplicant - (If systemd) Use timers instead of cron jobs ## Troubleshooting and FAQ @@ -193,7 +193,7 @@ you can use the installer to chroot into an existing system. Run `./install --he #### Q: ZFS cannot be installed in the chroot due to an unsupported kernel version -**A:** The newest stable ZFS module may requires a kernel version that is newer than what is provided on gentoo stable. +**A:** The newest stable ZFS module may require a kernel version that is newer than what is provided on gentoo stable. If you encounter this problem, you might be able to fix the problem by switching to testing by dropping to a shell temporarily: ``` diff --git a/configure b/configure index 5f93bf7..393ccd2 100755 --- a/configure +++ b/configure @@ -382,7 +382,7 @@ function load_config() { # shellcheck disable=SC1090 source "$1" || die "Could not load given configuration." - # After loading a config no unsaved changes exist. + # After loading a config, no unsaved changes exist. UNSAVED_CHANGES=false } @@ -921,7 +921,7 @@ function PARTITIONING_BOOT_TYPE_help() { echo "Select whether to use EFI or BIO function PARTITIONING_BOOT_TYPE_menu() { if menu_radiolist_labeled \ "Select boot type" \ - "Select whether your want to use EFI or BIOS boot.$(on_off_str "$HAS_EFI_SUPPORT" "" " \Z1$EFI_UNSUPPORTED_MESSAGE\Zn")" \ + "Select whether you want to use EFI or BIOS boot.$(on_off_str "$HAS_EFI_SUPPORT" "" " \Z1$EFI_UNSUPPORTED_MESSAGE\Zn")" \ "$PARTITIONING_BOOT_TYPE" \ "${PARTITIONING_BOOT_TYPES[@]}" then @@ -1268,7 +1268,7 @@ function KEYMAP_INITRAMFS_menu() { function LOCALES_tag() { echo "Locales"; } function LOCALES_label() { echo "$N_LOCALES selected"; } function LOCALES_show() { return 0; } -function LOCALES_help() { echo "The locales to generate for the new system. Be careful that the syntax for locales is a different from the resulting name of the genereated locales of locale-gen. For example the locale 'en_US.utf8' is enabled via 'en_US.UTF-8 UTF-8')."; } +function LOCALES_help() { echo "The locales to generate for the new system. Be careful that the syntax for locales is a different from the resulting name of the generated locales of locale-gen. For example, the locale 'en_US.utf8' is enabled via 'en_US.UTF-8 UTF-8')."; } function LOCALES_menu() { if menu_splitlist "Select locales" "Select which locales to generate." "$SELECTED_LOCALES" "${SUPPORTED_LOCALES[@]}"; then SELECTED_LOCALES="$dialog_out" @@ -1372,11 +1372,11 @@ function SYSTEMD_NETWORKD_GATEWAY_menu() { function STAGE3_VARIANT_tag() { echo "Stage3 variant & Init system"; } function STAGE3_VARIANT_label() { echo "($STAGE3_VARIANT)"; } function STAGE3_VARIANT_show() { return 0; } -function STAGE3_VARIANT_help() { echo "Select which stage3 tarball to use. Implicitly determines whether systemd or OpenRC is used. Not all stage3 variants have been tested with this installer. The basic installation process is always the same, but due to complex profiles, unexpected blockers may arise when emerge is called. Stick to the basic choices and change after bootstraping, unless you know how to invervene while installing."; } +function STAGE3_VARIANT_help() { echo "Select which stage3 tarball to use. Implicitly determines whether systemd or OpenRC is used. Not all stage3 variants have been tested with this installer. The basic installation process is always the same, but due to complex profiles, unexpected blockers may arise when emerge is called. Stick to the basic choices and change after bootstrapping, unless you know how to intervene while installing."; } function STAGE3_VARIANT_menu() { if menu_radiolist_labeled \ "Select stage3 variant" \ - "Select the base stage3 tarball variant to use for bootstrapping the system. Implicitly determines whether systemd or OpenRC is used. Not all stage3 variants have been tested with this installer. The basic installation process is always the same, but due to complex profiles, unexpected blockers may arise when emerge is called. Stick to the basic choices and change after bootstraping, unless you know how to invervene while installing." \ + "Select the base stage3 tarball variant to use for bootstrapping the system. Implicitly determines whether systemd or OpenRC is used. Not all stage3 variants have been tested with this installer. The basic installation process is always the same, but due to complex profiles, unexpected blockers may arise when emerge is called. Stick to the basic choices and change after bootstrapping, unless you know how to intervene while installing." \ "$STAGE3_VARIANT" \ "${ALL_STAGE3_VARIANTS[@]}" then diff --git a/gentoo.conf.example b/gentoo.conf.example index 0e798c7..848b907 100644 --- a/gentoo.conf.example +++ b/gentoo.conf.example @@ -190,7 +190,7 @@ LOCALES="" # The locale to set for the system. Be careful, the locale names deviate from the LOCALES # list entries (e.g. .UTF-8 vs .utf8). See `locale -a` for all available locales. LOCALE="C.utf8" -# For a german system you could use: +# For a German system, you could use: # LOCALES=" # de_DE.UTF-8 UTF-8 # de_DE ISO-8859-1 @@ -203,7 +203,7 @@ LOCALE="C.utf8" # Network configuration # The following network configuration only applies to systemd -# configurations and will otherwise be ignore. All openrc based +# configurations and will otherwise be ignored. All OpenRC based # configurations always just starts dhcpcd. # Enable systemd-networkd to configure internet @@ -241,7 +241,7 @@ GENTOO_MIRROR="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo GENTOO_ARCH="amd64" # The stage3 tarball variant to use. Determines whether systemd -# or openrc is used based on whether "systemd" is contained in this string. +# or OpenRC is used based on whether "systemd" is contained in this string. STAGE3_VARIANT="systemd" # The stage3 tarball to download and bootstrap STAGE3_BASENAME="stage3-$GENTOO_ARCH-$STAGE3_VARIANT" @@ -255,7 +255,7 @@ MUSL=$([[ $STAGE3_VARIANT == *musl* ]] && echo "true" || echo "false") # to /etc/portage/make.conf to enable packages in testing. USE_PORTAGE_TESTING=true -# If set to true, the best best gentoo mirrors will be selected +# If set to true, the best gentoo mirrors will be selected # automatically by app-portage/mirrorselect SELECT_MIRRORS=true diff --git a/install b/install index a431158..d8f705b 100755 --- a/install +++ b/install @@ -104,7 +104,7 @@ if [[ -z "$ACTION" ]]; then # Default if configuration exists: Run installer ACTION="install" else - # Default if configuration does not exists: Run configurator, and exit afterwards. + # Default if configuration does not exist: Run configurator, and exit afterwards. echo "You have not created a gentoo.conf. Starting configurator instead of installing." exec "$GENTOO_INSTALL_REPO_DIR/configure" "$CONFIG" fi diff --git a/scripts/utils.sh b/scripts/utils.sh index 3b7a38f..8f08810 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -417,8 +417,8 @@ function check_wanted_programs() { && need_zfs=true if [[ -v "pacman_packages[$program]" ]]; then - # Assignments to the empty string are explcitly ignored, - # as for example zfs needs to be handeled separately. + # Assignments to the empty string are explicitly ignored, + # as for example, zfs needs to be handled separately. [[ -n "${pacman_packages[$program]}" ]] \ && packages+=("${pacman_packages[$program]}") else