summaryrefslogtreecommitdiff
path: root/meta/classes/gtk-icon-cache.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-03 22:10:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-17 09:06:48 +0000
commit24cbe88429ba021d7c461e0271b67106d11d5eb2 (patch)
tree9cd8a214a2a4e5027ce8f211340002a4f62c7e42 /meta/classes/gtk-icon-cache.bbclass
parent323ef78e377525e2214f4700c30305c493137853 (diff)
downloadopenembedded-core-24cbe88429ba021d7c461e0271b67106d11d5eb2.tar.gz
openembedded-core-24cbe88429ba021d7c461e0271b67106d11d5eb2.tar.bz2
openembedded-core-24cbe88429ba021d7c461e0271b67106d11d5eb2.zip
classes: Drop none package specific packaging variable accesses
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-icon-cache.bbclass')
-rw-r--r--meta/classes/gtk-icon-cache.bbclass4
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 () {
bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)
- postinst = d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True)
+ postinst = d.getVar('pkg_postinst_%s' % pkg, True)
if not postinst:
postinst = '#!/bin/sh\n'
postinst += d.getVar('gtk_icon_cache_postinst', True)
d.setVar('pkg_postinst_%s' % pkg, postinst)
- postrm = d.getVar('pkg_postrm_%s' % pkg, True) or d.getVar('pkg_postrm', True)
+ postrm = d.getVar('pkg_postrm_%s' % pkg, True)
if not postrm:
postrm = '#!/bin/sh\n'
postrm += d.getVar('gtk_icon_cache_postrm', True)