diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-03-21 22:34:00 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-03-22 15:04:56 -0400 |
commit | c4bf9520768aa3db2263303094504ac66871050f (patch) | |
tree | 7fc60be8c4c70aaa6c493d66881bdd608b1dd84a /games-emulation | |
parent | revert: "dev-lang/clojure: version bump to 1.10.3" (diff) | |
download | gentoo-c4bf9520768aa3db2263303094504ac66871050f.tar.gz gentoo-c4bf9520768aa3db2263303094504ac66871050f.tar.bz2 gentoo-c4bf9520768aa3db2263303094504ac66871050f.zip |
sys-libs/timezone-data: adjust /etc/localtime logic
Stop using the "Factory" timezone. Programs will use UTC if localtime is
missing. Not installing the Factory timezone as /etc/localtime will
allow us to more easily detect if /etc/localtime exists and is valid.
If /etc/localtime exists as a regular file, copy the new timezone file
over it as was done previously. Emit a warning message encouraging the
user to remove the file.
If /etc/localtime does not exist, but we have a timezone configured in
/etc/timezone, create a symlink and remove /etc/timezone.
The end result of this should be that new installs default to UTC.
If users create /etc/timezone according to the handbook, a symlink will
be created at /etc/localtime and /etc/timezone will be removed.
Closes: https://github.com/gentoo/gentoo/pull/20050
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'games-emulation')
0 files changed, 0 insertions, 0 deletions