From: Grazvydas Ignotas Date: Tue, 10 Dec 2013 23:52:24 +0000 (+0200) Subject: pandora-scripts: fix echo redirect X-Git-Tag: sz_160~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=001cb62ab8fdea3ce082aeafb84484294641fe7e;ds=sidebyside pandora-scripts: fix echo redirect --- diff --git a/recipes/pandora-system/pandora-first-run-wizard.bb b/recipes/pandora-system/pandora-first-run-wizard.bb index 24cecc7..eef8e03 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 = "r51" +PR = "r52" 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 75b4252..806df0d 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 @@ -189,7 +189,7 @@ done echo $timezone rm /etc/localtime && ln -s /usr/share/zoneinfo/$area/$timezone /etc/localtime -echo $area/$timezone >> /etc/timezone +echo "$area/$timezone" > /etc/timezone #Make sure we clean up any leading zeros in the day (as Zenity freaks out) date_d=`date +%d | sed 's/^0//'` diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 8203f85..d5c1a5c 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" RDEPENDS = "bash sed gawk grep zenity" -PR = "r153" +PR = "r154" SRC_URI = " \ file://op_paths.sh \ diff --git a/recipes/pandora-system/pandora-scripts/op_datetime.sh b/recipes/pandora-system/pandora-scripts/op_datetime.sh index 358b398..b217706 100644 --- a/recipes/pandora-system/pandora-scripts/op_datetime.sh +++ b/recipes/pandora-system/pandora-scripts/op_datetime.sh @@ -19,7 +19,7 @@ case $mainsel in echo $timezone rm /etc/localtime && ln -s /usr/share/zoneinfo/$area/$timezone /etc/localtime - echo $area/$timezone >> /etc/timezone + echo "$area/$timezone" > /etc/timezone ;; "td")