source: npl/system/glibc/doinst.sh-glibc-zoneinfo @ 0105685

gcc484ntopperl-5.22
Last change on this file since 0105685 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 696 bytes
RevLine 
[c5c522c]1# Fix existing old style /etc/localtime symlink:
2if [ -L etc/localtime -a ! -r etc/localtime-copied-from ]; then
3  mv etc/localtime etc/localtime-copied-from
4fi
5# Add the default timezone in /etc, if none exists:
6if [ ! -r etc/localtime ]; then
7  ( cd etc ; rm -rf localtime localtime-copied-from )
8  ( cd etc ; ln -sf /usr/share/zoneinfo/Factory localtime-copied-from )
9fi
10# Make sure /etc/localtime is updated:
11chroot . /bin/cp etc/localtime-copied-from etc/localtime
12# Add the default link in /usr/share/zoneinfo:
13( cd usr/share/zoneinfo ; rm -rf timeconfig )
14( cd usr/share/zoneinfo ; ln -sf /usr/sbin/timeconfig timeconfig )
15### Make the rest of the symbolic links in the zoneinfo database:
Note: See TracBrowser for help on using the repository browser.