gcc484perl-5.22
|
Last change
on this file since 68dd3db was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 9 years ago
|
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
|
File size:
696 bytes
|
| Line | |
|---|
| 1 | # Fix existing old style /etc/localtime symlink: |
|---|
| 2 | if [ -L etc/localtime -a ! -r etc/localtime-copied-from ]; then |
|---|
| 3 | mv etc/localtime etc/localtime-copied-from |
|---|
| 4 | fi |
|---|
| 5 | # Add the default timezone in /etc, if none exists: |
|---|
| 6 | if [ ! -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 ) |
|---|
| 9 | fi |
|---|
| 10 | # Make sure /etc/localtime is updated: |
|---|
| 11 | chroot . /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.