Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Smedstad <carl.smedstad@protonmail.com>2024-02-05 11:44:51 +0100
committerCarl Smedstad <carl.smedstad@protonmail.com>2024-02-05 12:25:18 +0100
commiteabb1a9313a83baa5789992004dba3eb28efd070 (patch)
tree805c83ae336528ddf668751be04600b2a9563ec8
parenta7a2f25fb092f30bb8c31ed45a60ffcf44b34932 (diff)
fix(doc): Correct typo in version check error message
Change 'none pkgbase' to 'non-pkgbase' as the sentence refers sections that are not the pkgbase section, rather than an empty pkgbase section or something of that sort that could be misconstrued by using the word 'none'. Component: pkgctl version check
-rw-r--r--src/lib/version/check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/version/check.sh b/src/lib/version/check.sh
index 6aa465c..35d07e2 100644
--- a/src/lib/version/check.sh
+++ b/src/lib/version/check.sh
@@ -267,7 +267,7 @@ nvchecker_check_config() {
# check if the config contains any section other than pkgbase
if [[ -n ${pkgbase} ]] && property=$(grep --max-count=1 --perl-regexp "^\\[(?!\"?${pkgbase}\"?\\]).+\\]" < "${config}"); then
- printf "none pkgbase section not supported in %s: %s" "${config}" "${property}"
+ printf "non-pkgbase section not supported in %s: %s" "${config}" "${property}"
return 1
fi
}