rootfs_ipk.bbclass: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:39:40 +0000 (15:39 +0000)
committerMichael Smith <msmith@cbnco.com>
Sun, 14 Nov 2010 23:36:50 +0000 (18:36 -0500)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Michael Smith <msmith@cbnco.com>
classes/rootfs_ipk.bbclass

index a4a8563..92f521d 100644 (file)
@@ -83,7 +83,7 @@ fakeroot rootfs_ipk_do_rootfs () {
        ${ROOTFS_POSTPROCESS_COMMAND}
 
        if [ "${ONLINE_PACKAGE_MANAGEMENT}" != "none" ]; then
-               if [ "${ONLINE_PACKAGE_MANAGEMENT}" == "add" ]; then
+               if [ "${ONLINE_PACKAGE_MANAGEMENT}" = "add" ]; then
                        rm -f ${IMAGE_ROOTFS}${libdir}/opkg/status
                        rm -f ${IMAGE_ROOTFS}${libdir}/opkg/*/*
                else