diff --git a/src/arch-update.sh b/src/arch-update.sh index e0233d4..ae85453 100755 --- a/src/arch-update.sh +++ b/src/arch-update.sh @@ -30,7 +30,7 @@ fi # shellcheck source=src/lib/config.sh source "${libdir}/config.sh" -# Source the "common" library which contains variables and functions commonly used accross Arch-Update stages +# Source the "common" library which contains variables and functions commonly used across Arch-Update stages # shellcheck source=src/lib/common.sh source "${libdir}/common.sh" @@ -72,7 +72,7 @@ case "${option}" in news_num="${2}" fi - # Source the "list_news" library which displays the lastest Arch news and offers to read them + # Source the "list_news" library which displays the latest Arch news and offers to read them # shellcheck source=src/lib/list_news.sh source "${libdir}/list_news.sh" ;; diff --git a/src/lib/common.sh b/src/lib/common.sh index 3dca1c4..d29b079 100755 --- a/src/lib/common.sh +++ b/src/lib/common.sh @@ -1,6 +1,6 @@ #!/bin/bash -# common.sh: Set variables and functions commonly used accross Arch-Update stages +# common.sh: Set variables and functions commonly used across Arch-Update stages # https://github.com/Antiz96/arch-update # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/src/lib/full_upgrade.sh b/src/lib/full_upgrade.sh index c408274..b588071 100755 --- a/src/lib/full_upgrade.sh +++ b/src/lib/full_upgrade.sh @@ -10,7 +10,7 @@ source "${libdir}/list_packages.sh" # If the user gave the confirmation to proceed to apply updates if [ -n "${proceed_with_update}" ]; then - # Source the "list_news" library which displays the lastest Arch news and offers to read them + # Source the "list_news" library which displays the latest Arch news and offers to read them # shellcheck source=src/lib/list_news.sh source "${libdir}/list_news.sh" @@ -18,7 +18,7 @@ if [ -n "${proceed_with_update}" ]; then # shellcheck source=src/lib/list_update.sh source "${libdir}/list_update.sh" - # Record the date of the last succesful update (used by other stages) + # Record the date of the last successful update (used by other stages) date +%Y-%m-%d > "${statedir}/last_update_run" fi @@ -42,5 +42,5 @@ source "${libdir}/kernel_reboot.sh" # shellcheck source=src/lib/restart_services.sh source "${libdir}/restart_services.sh" -# Display the "quit" message on succesful full upgrade +# Display the "quit" message on successful full upgrade quit_msg diff --git a/src/lib/list_news.sh b/src/lib/list_news.sh index 8d75d3f..a6626ed 100755 --- a/src/lib/list_news.sh +++ b/src/lib/list_news.sh @@ -1,6 +1,6 @@ #!/bin/bash -# list_news.sh: Display the lastest Arch news and offer to read them +# list_news.sh: Display the latest Arch news and offer to read them # https://github.com/Antiz96/arch-update # SPDX-License-Identifier: GPL-3.0-or-later