Skip to content

Commit

Permalink
style: typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiz96 committed Sep 23, 2024
1 parent 6e9eacf commit f7ce128
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/arch-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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"
;;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/common.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 3 additions & 3 deletions src/lib/full_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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"

# Source the "update" library which updates packages
# 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

Expand All @@ -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
2 changes: 1 addition & 1 deletion src/lib/list_news.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit f7ce128

Please sign in to comment.