mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
Update to 2016f. [1] While there, clean things up a bit and really do staging. PR: 211260 [1] Submitted by: devel stasyan com With hat: portmgr Sponsored by: Absolight
15 lines
337 B
Bash
15 lines
337 B
Bash
#!/bin/sh
|
|
|
|
if [ "$2" != "PRE-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
if [ -f /var/db/zoneinfo -a -O /var/db/zoneinfo -a -G /var/db/zoneinfo ]; then
|
|
if [ -f /usr/share/zoneinfo/$(cat /var/db/zoneinfo) ]; then
|
|
tzsetup -r
|
|
echo "/etc/localtime is updated."
|
|
fi
|
|
else
|
|
echo "Now run tzsetup(8) again to install the right file to /etc/localtime."
|
|
fi
|