pulseaudio: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:43:20 +0000 (15:43 +0000)
committerMichael Smith <msmith@cbnco.com>
Sun, 14 Nov 2010 23:36:55 +0000 (18:36 -0500)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Michael Smith <msmith@cbnco.com>
recipes/pulseaudio/pulseaudio-meta_0.9.10.bb
recipes/pulseaudio/pulseaudio.inc

index d97d46d..378cb2b 100644 (file)
@@ -40,7 +40,7 @@ do_install() {
        install -m 0755 ${WORKDIR}/session ${D}/${sysconfdir}/pulse/session.pulseaudio-meta
        install -m 0644 ${WORKDIR}/asound.conf ${D}/${sysconfdir}/asound.conf.pulseaudio-meta
 
-    if [ "x${TARGET_PFPU}" == "xsoft" ] ; then
+    if [ "x${TARGET_PFPU}" = "xsoft" ] ; then
          sed -i -e s:resample-method=sinc-fastest:resample-method=trivial: ${D}${sysconfdir}/init.d/pulseaudio
     fi
 }
index 6f42d40..85048f2 100644 (file)
@@ -39,7 +39,7 @@ do_install_append() {
        install -d ${D}${sysconfdir}/default/volatiles
        install -m 0644 ${WORKDIR}/volatiles.04_pulse  ${D}${sysconfdir}/default/volatiles/04_pulse
        
-       if [ "x${TARGET_PFPU}" == "xsoft" ] ; then 
+       if [ "x${TARGET_PFPU}" = "xsoft" ] ; then 
             sed -i -e s:\;\ resample-method\ =\ sinc-fastest:resample-method\ =\ trivial: ${D}${sysconfdir}/pulse/daemon.conf
        fi
 }