diff options
Diffstat (limited to 'packages/display-brightness')
-rw-r--r-- | packages/display-brightness/display-brightness.sh | 2 | ||||
-rw-r--r-- | packages/display-brightness/display-brightness_1.0.0.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/display-brightness/display-brightness.sh b/packages/display-brightness/display-brightness.sh index a82c748309..935dabff7b 100644 --- a/packages/display-brightness/display-brightness.sh +++ b/packages/display-brightness/display-brightness.sh @@ -38,7 +38,7 @@ if [ "$1" = "up" ]; then fi if [ "$1" = "down" ]; then - if [ $ACTUAL_BRIGHTNESS -eq 0 ]; then + if [ $ACTUAL_BRIGHTNESS -lt 2 ]; then exit 0 elif [ $ACTUAL_BRIGHTNESS -lt $STEP ]; then STEP=1 diff --git a/packages/display-brightness/display-brightness_1.0.0.bb b/packages/display-brightness/display-brightness_1.0.0.bb index bc46c16631..f06fde0fa9 100644 --- a/packages/display-brightness/display-brightness_1.0.0.bb +++ b/packages/display-brightness/display-brightness_1.0.0.bb @@ -2,7 +2,7 @@ DESCRIPTION = "display brightness utility" AUTHOR = "Patrick Steiner <patrick.steiner@a1.net>" DEPENDS = "" PRIORITY = "optional" -PR = "r3" +PR = "r4" LICENSE = "GPLv2" SRC_URI = "file://display-brightness.sh" |