[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 using?

> The simple fix is to use "|| true" in the 2 places where this occurs.

That's a wrong fix. The correct one is to fix your shell.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: