diff options
Diffstat (limited to 'meta/classes/gtk-icon-cache.bbclass')
| -rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index 2ca99acdf9..223a280338 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass | |||
| @@ -51,13 +51,13 @@ python populate_packages_append () { | |||
| 51 | 51 | ||
| 52 | bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg) | 52 | bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg) |
| 53 | 53 | ||
| 54 | postinst = d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True) | 54 | postinst = d.getVar('pkg_postinst_%s' % pkg, True) |
| 55 | if not postinst: | 55 | if not postinst: |
| 56 | postinst = '#!/bin/sh\n' | 56 | postinst = '#!/bin/sh\n' |
| 57 | postinst += d.getVar('gtk_icon_cache_postinst', True) | 57 | postinst += d.getVar('gtk_icon_cache_postinst', True) |
| 58 | d.setVar('pkg_postinst_%s' % pkg, postinst) | 58 | d.setVar('pkg_postinst_%s' % pkg, postinst) |
| 59 | 59 | ||
| 60 | postrm = d.getVar('pkg_postrm_%s' % pkg, True) or d.getVar('pkg_postrm', True) | 60 | postrm = d.getVar('pkg_postrm_%s' % pkg, True) |
| 61 | if not postrm: | 61 | if not postrm: |
| 62 | postrm = '#!/bin/sh\n' | 62 | postrm = '#!/bin/sh\n' |
| 63 | postrm += d.getVar('gtk_icon_cache_postrm', True) | 63 | postrm += d.getVar('gtk_icon_cache_postrm', True) |
