diff options
Diffstat (limited to 'meta/classes/manpages.bbclass')
-rw-r--r-- | meta/classes/manpages.bbclass | 4 |
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 |
13 | RDEPENDS:${MAN_PKG} += "${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'man-db', '', d)}" | 13 | RDEPENDS:${MAN_PKG} += "${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'man-db', '', d)}" |
14 | 14 | ||
15 | pkg_postinst:append_${MAN_PKG} () { | 15 | pkg_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 | ||
39 | pkg_postrm:append_${MAN_PKG} () { | 39 | pkg_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 |