diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-03 22:10:21 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-17 22:32:03 +0000 |
| commit | 069a332d1cf0778831673ed4ab5dfadbe2758783 (patch) | |
| tree | cac103c685297423bdc5f67f8af9ac8dd64cc699 /meta/classes/gtk-immodules-cache.bbclass | |
| parent | 68ceb02e98c977dd3eadea2c38b5eb796d6b6db4 (diff) | |
| download | poky-069a332d1cf0778831673ed4ab5dfadbe2758783.tar.gz | |
classes: Drop none package specific packaging variable accesses
(From OE-Core rev: 24cbe88429ba021d7c461e0271b67106d11d5eb2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-immodules-cache.bbclass')
| -rw-r--r-- | meta/classes/gtk-immodules-cache.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/gtk-immodules-cache.bbclass b/meta/classes/gtk-immodules-cache.bbclass index 6a5bc19d74..ed3069daaf 100644 --- a/meta/classes/gtk-immodules-cache.bbclass +++ b/meta/classes/gtk-immodules-cache.bbclass | |||
| @@ -60,13 +60,13 @@ python populate_packages_append () { | |||
| 60 | for pkg in gtkimmodules_pkgs: | 60 | for pkg in gtkimmodules_pkgs: |
| 61 | bb.note("adding gtk-immodule-cache postinst and postrm scripts to %s" % pkg) | 61 | bb.note("adding gtk-immodule-cache postinst and postrm scripts to %s" % pkg) |
| 62 | 62 | ||
| 63 | postinst = d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True) | 63 | postinst = d.getVar('pkg_postinst_%s' % pkg, True) |
| 64 | if not postinst: | 64 | if not postinst: |
| 65 | postinst = '#!/bin/sh\n' | 65 | postinst = '#!/bin/sh\n' |
| 66 | postinst += d.getVar('gtk_immodule_cache_postinst', True) | 66 | postinst += d.getVar('gtk_immodule_cache_postinst', True) |
| 67 | d.setVar('pkg_postinst_%s' % pkg, postinst) | 67 | d.setVar('pkg_postinst_%s' % pkg, postinst) |
| 68 | 68 | ||
| 69 | postrm = d.getVar('pkg_postrm_%s' % pkg, True) or d.getVar('pkg_postrm', True) | 69 | postrm = d.getVar('pkg_postrm_%s' % pkg, True) |
| 70 | if not postrm: | 70 | if not postrm: |
| 71 | postrm = '#!/bin/sh\n' | 71 | postrm = '#!/bin/sh\n' |
| 72 | postrm += d.getVar('gtk_immodule_cache_postrm', True) | 72 | postrm += d.getVar('gtk_immodule_cache_postrm', True) |
