diff options
author | Carl Smedstad <carl.smedstad@protonmail.com> | 2024-02-05 11:44:51 +0100 |
---|---|---|
committer | Carl Smedstad <carl.smedstad@protonmail.com> | 2024-02-05 12:25:18 +0100 |
commit | eabb1a9313a83baa5789992004dba3eb28efd070 (patch) | |
tree | 805c83ae336528ddf668751be04600b2a9563ec8 | |
parent | a7a2f25fb092f30bb8c31ed45a60ffcf44b34932 (diff) | |
download | devtools-eabb1a9313a83baa5789992004dba3eb28efd070.tar.xz |
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.sh | 2 |
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 } |