Changed revision in pandora-skel.bb and fixed op_bright-Script
authorMichael Mrozek <EvilDragon@openpandora.de>
Fri, 23 Apr 2010 00:42:12 +0000 (02:42 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Fri, 23 Apr 2010 00:42:12 +0000 (02:42 +0200)
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_bright.sh
recipes/pandora-system/pandora-skel.bb

index d96ca35..bc85ee4 100644 (file)
@@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 DEPENDS = "zenity dbus"
 RDEPENDS = "zenity dbus"
 
-PR = "r19"
+PR = "r20"
 
 SRC_URI = " \
           file://op_bright.sh \
index 666312b..57104a2 100755 (executable)
@@ -5,7 +5,7 @@ maxbright=$(cat /sys/devices/platform/twl4030-pwm0-bl/backlight/twl4030-pwm0-bl/
 curbright=$(cat /sys/devices/platform/twl4030-pwm0-bl/backlight/twl4030-pwm0-bl/brightness)
 device=/sys/devices/platform/twl4030-pwm0-bl/backlight/twl4030-pwm0-bl/brightness
 if [ ! $1 ]; then
-newbright=$(DISPLAY=0:0 zenity --scale --text "set brightness" --min-value=$minbright --max-value=$maxbright --value=$curbright --step 1)
+newbright=$(zenity --scale --text "set brightness" --min-value=$minbright --max-value=$maxbright --value=$curbright --step 1)
 else
 newbright=$1
 fi
index 1fcd3d4..2f40554 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 # /etc/skel is used by Shadow's useradd so you really have that installed for this to make sense ;)
 RDEPENDS = "shadow"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = " \
   file://.xinitrc \