]> code.ossystems Code Review - openembedded-core.git/commit
tzdata: fix postinst
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 8 Apr 2015 12:40:44 +0000 (14:40 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Apr 2015 18:48:00 +0000 (19:48 +0100)
commit87429d37e72b1fd2f329d693b4d1b1229a90e0a2
tree7f740e6e8e97fabeff490d983858e427be0c8a85
parent1b24eaa71702c07e525d8a62c08c0983e9917468
tzdata: fix postinst

* add quotes around possibly empty tz variable
* use exit instead of return, because we're not in function and postinst
  fails:
  line 9: return: can only `return' from a function or sourced script"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/tzdata/tzdata.inc