diff options
Diffstat (limited to 'meta/classes/gtk-immodules-cache.bbclass')
| -rw-r--r-- | meta/classes/gtk-immodules-cache.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/gtk-immodules-cache.bbclass b/meta/classes/gtk-immodules-cache.bbclass index 8e783fb493..2107517540 100644 --- a/meta/classes/gtk-immodules-cache.bbclass +++ b/meta/classes/gtk-immodules-cache.bbclass | |||
| @@ -47,23 +47,23 @@ else | |||
| 47 | fi | 47 | fi |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | python populate_packages_append () { | 50 | python populate_packages:append () { |
| 51 | gtkimmodules_pkgs = d.getVar('GTKIMMODULES_PACKAGES').split() | 51 | gtkimmodules_pkgs = d.getVar('GTKIMMODULES_PACKAGES').split() |
| 52 | 52 | ||
| 53 | for pkg in gtkimmodules_pkgs: | 53 | for pkg in gtkimmodules_pkgs: |
| 54 | bb.note("adding gtk-immodule-cache postinst and postrm scripts to %s" % pkg) | 54 | bb.note("adding gtk-immodule-cache postinst and postrm scripts to %s" % pkg) |
| 55 | 55 | ||
| 56 | postinst = d.getVar('pkg_postinst_%s' % pkg) | 56 | postinst = d.getVar('pkg_postinst:%s' % pkg) |
| 57 | if not postinst: | 57 | if not postinst: |
| 58 | postinst = '#!/bin/sh\n' | 58 | postinst = '#!/bin/sh\n' |
| 59 | postinst += d.getVar('gtk_immodule_cache_postinst') | 59 | postinst += d.getVar('gtk_immodule_cache_postinst') |
| 60 | d.setVar('pkg_postinst_%s' % pkg, postinst) | 60 | d.setVar('pkg_postinst:%s' % pkg, postinst) |
| 61 | 61 | ||
| 62 | postrm = d.getVar('pkg_postrm_%s' % pkg) | 62 | postrm = d.getVar('pkg_postrm:%s' % pkg) |
| 63 | if not postrm: | 63 | if not postrm: |
| 64 | postrm = '#!/bin/sh\n' | 64 | postrm = '#!/bin/sh\n' |
| 65 | postrm += d.getVar('gtk_immodule_cache_postrm') | 65 | postrm += d.getVar('gtk_immodule_cache_postrm') |
| 66 | d.setVar('pkg_postrm_%s' % pkg, postrm) | 66 | d.setVar('pkg_postrm:%s' % pkg, postrm) |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | python __anonymous() { | 69 | python __anonymous() { |
