From: Michael Mrozek Date: Tue, 3 Jul 2012 08:52:03 +0000 (+0200) Subject: first-run-wizard: Removed unneded sudo X-Git-Tag: sz_152~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d87e88cbf3afcb77092fa4be420183f99aeb14fe;p=openpandora.oe.git first-run-wizard: Removed unneded sudo --- diff --git a/recipes/pandora-system/pandora-first-run-wizard.bb b/recipes/pandora-system/pandora-first-run-wizard.bb index f7a034d..fa7fabe 100755 --- a/recipes/pandora-system/pandora-first-run-wizard.bb +++ b/recipes/pandora-system/pandora-first-run-wizard.bb @@ -6,7 +6,7 @@ RDEPENDS = "hsetroot zenity dbus pandora-wallpaper-official tslib tslib-calibrat COMPATIBLE_MACHINE = "omap3-pandora" -PR = "r45" +PR = "r46" SRC_URI = " \ file://first-run-wizard.sh \ diff --git a/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh b/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh index f1e263c..3617f03 100755 --- a/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh +++ b/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh @@ -312,7 +312,7 @@ if zenity --question --title="Calibrate Touchscreen" --text="It is recommended t /usr/pandora/scripts/op_touchinit.sh while ! zenity --question --title="Check Calibration" --text="Your new calibration setting has been applied.\n\nPlease check if the touchscreen is now working properly.\nIf not, you might want to try a recalibration.\n\n(Hint: use the nubs to press the button if the touchscreen is way off)" --ok-label="The touchscreen is fine" --cancel-label="Recalibrate"; do TSLIB_CONSOLEDEVICE=none op_runfbapp ts_calibrate - sudo /usr/pandora/scripts/op_touchinit.sh + /usr/pandora/scripts/op_touchinit.sh done fi