X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-first-run-wizard%2Ffirst-run-wizard.sh;h=327f817f211a44e5219a0403521434c467f55282;hp=48a922f2f497e19456ffe93b3d00983b4309b857;hb=30dd378df8c729bb7ee8a77c3f05bbcd65e34826;hpb=bb8bf459c16ff1c4228ade712afdb1f4c855693c 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 48a922f..327f817 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 @@ -185,7 +185,7 @@ echo rm /etc/localtime && ln -s /usr/share/zoneinfo/Etc/$timezone /etc/localtime #Make sure we clean up any leading zeros in the day (as Zenity freaks out) date_d=`date +%d | sed 's/^0//'` -date_m=`date +%m` +date_m=`date +%m`| sed 's/^0//'` date_y=`date +%Y` while ! date=$(zenity --calendar --text="Please select the current date" --title "Please select the current date" --day=$date_d --month=$date_m --year=$date_y --date-format="%Y%m%d" --width=500) || [ "x$date" = "x" ] ; do