From a422d6cb24307ad6fbbcabebdc0924d50a5c0de7 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Thu, 1 Jul 2010 03:51:33 +0200 Subject: [PATCH] op_cpuspeed.sh: Fixed warning message check (from -ge to -gt) --- recipes/pandora-system/pandora-scripts.bb | 6 +++--- recipes/pandora-system/pandora-scripts/op_cpuspeed.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 70936d6..22e97aa 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" DEPENDS = "zenity dbus" RDEPENDS = "zenity dbus" -PR = "r29" +PR = "r30" SRC_URI = " \ file://op_bright.sh \ @@ -74,8 +74,8 @@ do_install() { install -m 0755 ${WORKDIR}/op_nubmode.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_storage.sh ${D}${prefix}/pandora/scripts/ - install -d ${D}${prefix}/pandora/menu/ - install -m 0755 ${WORKDIR}/pandorascripts.pnd ${D}${prefix}/pandora/menu/ + install -d ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/pandorascripts.pnd ${D}${prefix}/pandora/apps/ install -d ${D}${prefix}/pandora/mmenu/ install -m 0755 ${WORKDIR}/abiword.pnd ${D}${prefix}/pandora/mmenu/ install -m 0755 ${WORKDIR}/arora.pnd ${D}${prefix}/pandora/mmenu/ diff --git a/recipes/pandora-system/pandora-scripts/op_cpuspeed.sh b/recipes/pandora-system/pandora-scripts/op_cpuspeed.sh index e184b88..72d0d87 100644 --- a/recipes/pandora-system/pandora-scripts/op_cpuspeed.sh +++ b/recipes/pandora-system/pandora-scripts/op_cpuspeed.sh @@ -16,7 +16,7 @@ else newmhz=$1 fi if [ $newmhz ]; then - if [ $newmhz -ge $safemhz ]; then + if [ $newmhz -gt $safemhz ]; then if [ $DISPLAY ]; then answer=$(zenity --question --title "Alert" --text "You are trying to set the CPU clock to $newmhz which is above its specification of $safemhz, doing so may burn down your house, sour milk, or just blow up (OK, not that likely)! Proceed?";echo $?) echo $answer -- 2.39.2