Bug#473857: tzdata.postinst fails when TZ is not in the environment

2008-04-02 Thread Adam Heath
Aurelien Jarno wrote: Adam Heath a écrit : Package: tzdata Version: 2008b-1 Severity: important If I do not have TZ in my environment, then the postinst fails. It has an unprotected "unset TZ", which will fail the script if TZ is not actually in the environment. Huh?!? Which strange shell

Bug#473857: tzdata.postinst fails when TZ is not in the environment

2008-04-02 Thread Aurelien Jarno
Adam Heath a écrit : > Package: tzdata > Version: 2008b-1 > Severity: important > > If I do not have TZ in my environment, then the postinst fails. It has > an unprotected "unset TZ", which will fail the script if TZ is not > actually in the environment. Huh?!? Which strange shell are you usin

Bug#473857: tzdata.postinst fails when TZ is not in the environment

2008-04-01 Thread Adam Heath
Package: tzdata Version: 2008b-1 Severity: important If I do not have TZ in my environment, then the postinst fails. It has an unprotected "unset TZ", which will fail the script if TZ is not actually in the environment. The simple fix is to use "|| true" in the 2 places where this occurs.