From eabb1a9313a83baa5789992004dba3eb28efd070 Mon Sep 17 00:00:00 2001 From: Carl Smedstad Date: Mon, 5 Feb 2024 11:44:51 +0100 Subject: 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 --- src/lib/version/check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3-54-g00ecf