op_lcdsettings: remove unneeded quotes sz_152
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 17 Oct 2012 11:54:34 +0000 (14:54 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 17 Oct 2012 11:54:34 +0000 (14:54 +0300)
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_lcdsettings.sh

index 04ddacd..1fbcfa9 100644 (file)
@@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 DEPENDS = "zenity dbus"
 RDEPENDS = "zenity dbus"
 
-PR = "r121"
+PR = "r122"
 
 SRC_URI = " \
           file://op_paths.sh \
index 5fa2a4a..58cf5aa 100644 (file)
@@ -112,10 +112,10 @@ case $mainsel in
       "rightclickmode")
       user=$(cat /tmp/currentuser)
       if zenity --question --title="Right-Click Mode" --text="Choose how you would like to do a right-click with the touchscreen: You can either use the click-and-hold-method to right click or to use ALT as modifier key." --ok-label="ALT as modifier" --cancel-label="Click-and-Hold"; then 
-         echo 'mode = "1"' > /home/$user/Applications/Settings/libgtkstylus.conf
+         echo 'mode = 1' > /home/$user/Applications/Settings/libgtkstylus.conf
          zenity --info --title="Right-Click" --text "To do a right-click with the stylus, press and hold the ALT button while clicking.\n\nYou need to restart X to enable this." --timeout 6
        else
-         echo 'mode = "0"' > /home/$user/Applications/Settings/libgtkstylus.conf
+         echo 'mode = 0' > /home/$user/Applications/Settings/libgtkstylus.conf
          zenity --info --title="Right-Click" --text "To do a right-click with the stylus, press and hold the stylus on the screen.\n\nYou need to restart X to enable this." --timeout 6
        fi;;