]> 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>
Fri, 15 May 2015 17:12:05 +0000 (18:12 +0100)
commitff58b2b6d07725adedddb709000775af8da3c5db
tree6d112a03d2f670effcf06e1ee9a832d98bfe50fa
parent3bbdb42c17222e78e3a4d043f26c9b2dce6d6891
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"

(From OE-Core master rev: 87429d37e72b1fd2f329d693b4d1b1229a90e0a2)

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