More updates...
[dragora.git] / recipes / db / tzdb / post-install
blobf301ab58698ea44e38a1a091230c29aeff23da95
2 # Set default zone info file, default points to 'UTC'
4 if test -r etc/zoneinfo/UTC
5 then
6     if test -L etc/localtime && test ! -e etc/localtime
7     then
8         echo "etc/localtime is a dangling symlink, trying to recreate it" 1>&2
9         ln -sf zoneinfo/UTC etc/localtime
10     elif test ! -e etc/localtime
11     then
12         ln -s zoneinfo/UTC etc/localtime
13     fi