summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@archlinux.org>2024-02-04 11:27:02 +0100
committerChristian Heusel <christian@heusel.eu>2024-02-05 11:54:55 +0100
commit800cf9b56b64f9954852f55fea408786cd5aaaa0 (patch)
tree24c0e5842eb19fed99e966a0044ca74d0015f3bc
parent4d72f4560c3a64b38dcdb705ec633c3c2ba1f20c (diff)
downloaddevtools-800cf9b56b64f9954852f55fea408786cd5aaaa0.tar.xz
fix(version): fix typo never should be newer
Component: pkgctl version check Component: pkgctl version update
-rw-r--r--src/lib/version/check.sh2
-rw-r--r--src/lib/version/upgrade.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/version/check.sh b/src/lib/version/check.sh
index 006fd80..4731545 100644
--- a/src/lib/version/check.sh
+++ b/src/lib/version/check.sh
@@ -149,7 +149,7 @@ pkgctl_version_check() {
result="${BOLD}${pkgbase}${ALL_OFF}: current version ${PURPLE}${pkgver}${ALL_OFF} is latest"
up_to_date+=("${result}")
elif (( result < 0 )); then
- result="${BOLD}${pkgbase}${ALL_OFF}: current version ${PURPLE}${pkgver}${ALL_OFF} is never than ${DARK_GREEN}${upstream_version}${ALL_OFF}"
+ result="${BOLD}${pkgbase}${ALL_OFF}: current version ${PURPLE}${pkgver}${ALL_OFF} is newer than ${DARK_GREEN}${upstream_version}${ALL_OFF}"
up_to_date+=("${result}")
elif (( result > 0 )); then
result="${BOLD}${pkgbase}${ALL_OFF}: upgrade from version ${PURPLE}${pkgver}${ALL_OFF} to ${DARK_GREEN}${upstream_version}${ALL_OFF}"
diff --git a/src/lib/version/upgrade.sh b/src/lib/version/upgrade.sh
index 87744b0..e217532 100644
--- a/src/lib/version/upgrade.sh
+++ b/src/lib/version/upgrade.sh
@@ -140,7 +140,7 @@ pkgctl_version_upgrade() {
result="${BOLD}${pkgbase}${ALL_OFF}: current version ${PURPLE}${pkgver}${ALL_OFF} is latest"
up_to_date+=("${result}")
elif (( result < 0 )); then
- result="${BOLD}${pkgbase}${ALL_OFF}: current version ${PURPLE}${pkgver}${ALL_OFF} is never than ${DARK_GREEN}${upstream_version}${ALL_OFF}"
+ result="${BOLD}${pkgbase}${ALL_OFF}: current version ${PURPLE}${pkgver}${ALL_OFF} is newer than ${DARK_GREEN}${upstream_version}${ALL_OFF}"
up_to_date+=("${result}")
elif (( result > 0 )); then
result="${BOLD}${pkgbase}${ALL_OFF}: upgraded from version ${PURPLE}${pkgver}${ALL_OFF} to ${DARK_GREEN}${upstream_version}${ALL_OFF}"