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
This commit is contained in:
Carl Smedstad 2024-02-05 11:44:51 +01:00
parent a7a2f25fb0
commit eabb1a9313
No known key found for this signature in database
GPG Key ID: 49C93367BA86290E
1 changed files with 1 additions and 1 deletions

View File

@ -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
}