diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-02-09 18:13:50 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-12 00:31:43 +0000 |
commit | 92a9d59fccdfb6587fbd12f686899a8ace5e1d2f (patch) | |
tree | ee21a7f2eff64edb141297e75cfda174b8e45bf9 /meta/recipes-devtools/sgml-common | |
parent | 6f6bffe5df1edf10056f42d2c95ae68b6bb918f9 (diff) | |
download | poky-92a9d59fccdfb6587fbd12f686899a8ace5e1d2f.tar.gz |
recipes: pre/post actions
A number of the recipes did not properly label their pre and post
actions, causing the actions to occur in all split packages. This
was corrected by defaulting to _${PN} in most cases.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/sgml-common')
-rw-r--r-- | meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb b/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb index 92014a80ee..63e0acdba7 100644 --- a/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb +++ b/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb | |||
@@ -31,7 +31,7 @@ do_compile_append() { | |||
31 | 31 | ||
32 | FILES_sgml-common_append = " ${datadir}/sgml" | 32 | FILES_sgml-common_append = " ${datadir}/sgml" |
33 | 33 | ||
34 | pkg_postinst() { | 34 | pkg_postinst_${PN}() { |
35 | install-catalog \ | 35 | install-catalog \ |
36 | --add ${sysconfdir}/sgml/sgml-ent.cat \ | 36 | --add ${sysconfdir}/sgml/sgml-ent.cat \ |
37 | ${datadir}/sgml/sgml-iso-entities-8879.1986/catalog | 37 | ${datadir}/sgml/sgml-iso-entities-8879.1986/catalog |
@@ -41,7 +41,7 @@ pkg_postinst() { | |||
41 | ${sysconfdir}/sgml/sgml-ent.cat | 41 | ${sysconfdir}/sgml/sgml-ent.cat |
42 | } | 42 | } |
43 | 43 | ||
44 | pkg_postrm() { | 44 | pkg_postrm_${PN}() { |
45 | install-catalog \ | 45 | install-catalog \ |
46 | --remove ${sysconfdir}/sgml/sgml-ent.cat \ | 46 | --remove ${sysconfdir}/sgml/sgml-ent.cat \ |
47 | ${datadir}/sgml/sgml-iso-entities-8879.1986/catalog | 47 | ${datadir}/sgml/sgml-iso-entities-8879.1986/catalog |