summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2021-08-03 21:28:04 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-04 20:45:41 +0100
commitfdf57744b49501301163e9ac87045ad504e2c4f1 (patch)
tree1799748b0a0e8e96d908acf86a7e08192c6c8bea /meta/classes
parent4875b8989ba89ad14b7d4a27aae9f73e708f2fa6 (diff)
downloadpoky-fdf57744b49501301163e9ac87045ad504e2c4f1.tar.gz
meta: convert nested overrides leftovers to new syntax
Those were missed in previous rounds of automated and manual conversion. (From OE-Core rev: 22f9c7268b542baf6cd8aa0e34c8fb7aa1579e08) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/manpages.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/manpages.bbclass b/meta/classes/manpages.bbclass
index 3a96659460..64b7d8c422 100644
--- a/meta/classes/manpages.bbclass
+++ b/meta/classes/manpages.bbclass
@@ -12,7 +12,7 @@ MAN_PKG ?= "${PN}-doc"
12# only add man-db to RDEPENDS when manual files are built and installed 12# only add man-db to RDEPENDS when manual files are built and installed
13RDEPENDS:${MAN_PKG} += "${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'man-db', '', d)}" 13RDEPENDS:${MAN_PKG} += "${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'man-db', '', d)}"
14 14
15pkg_postinst:append_${MAN_PKG} () { 15pkg_postinst:append:${MAN_PKG} () {
16 # only update manual page index caches when manual files are built and installed 16 # only update manual page index caches when manual files are built and installed
17 if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then 17 if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then
18 if test -n "$D"; then 18 if test -n "$D"; then
@@ -36,7 +36,7 @@ pkg_postinst:append_${MAN_PKG} () {
36 fi 36 fi
37} 37}
38 38
39pkg_postrm:append_${MAN_PKG} () { 39pkg_postrm:append:${MAN_PKG} () {
40 # only update manual page index caches when manual files are built and installed 40 # only update manual page index caches when manual files are built and installed
41 if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then 41 if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then
42 mandb -q 42 mandb -q