]> code.ossystems Code Review - openembedded-core.git/commitdiff
gsettings.bbclass: fix whitespace
authorRoss Burton <ross.burton@intel.com>
Wed, 5 Sep 2012 11:36:39 +0000 (12:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Sep 2012 21:24:16 +0000 (22:24 +0100)
As nothing in oe-core uses gsettings, it wasn't noticed that the whitespace is
wrong.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gsettings.bbclass

index 1e3f7a16e81e7be866a7a6f088dfdeb65f89a9f6..dec5abc02682abf2ff324a1434bc370be11aeb3e 100644 (file)
@@ -18,20 +18,20 @@ gsettings_postinstrm () {
 }
 
 python populate_packages_append () {
-       pkg = d.getVar('PN', True)
-       bb.note("adding gsettings postinst scripts to %s" % pkg)
-
-       postinst = d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True)
-       if not postinst:
-               postinst = '#!/bin/sh\n'
-       postinst += d.getVar('gsettings_postinstrm', True)
-       d.setVar('pkg_postinst_%s' % pkg, postinst)
-
-       bb.note("adding gsettings postrm scripts to %s" % pkg)
-
-       postrm = d.getVar('pkg_postrm_%s' % pkg, True) or d.getVar('pkg_postrm', True)
-       if not postrm:
-               postrm = '#!/bin/sh\n'
-       postrm += d.getVar('gsettings_postinstrm', True)
-       d.setVar('pkg_postrm_%s' % pkg, postrm)
+    pkg = d.getVar('PN', True)
+    bb.note("adding gsettings postinst scripts to %s" % pkg)
+
+    postinst = d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True)
+    if not postinst:
+        postinst = '#!/bin/sh\n'
+    postinst += d.getVar('gsettings_postinstrm', True)
+    d.setVar('pkg_postinst_%s' % pkg, postinst)
+
+    bb.note("adding gsettings postrm scripts to %s" % pkg)
+
+    postrm = d.getVar('pkg_postrm_%s' % pkg, True) or d.getVar('pkg_postrm', True)
+    if not postrm:
+        postrm = '#!/bin/sh\n'
+    postrm += d.getVar('gsettings_postinstrm', True)
+    d.setVar('pkg_postrm_%s' % pkg, postrm)
 }