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:
parent
a7a2f25fb0
commit
eabb1a9313
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue