/usr/lib/ubiquity/tzsetup/post-base-installer-oem is in oem-config 18.04.14.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_get time/zone
zone="$RET"
if [ -z "$zone" ] || [ ! -e /usr/share/zoneinfo/$zone ]; then
logger -t tzsetup "Warning: ignoring invalid time zone '$zone'"
exit 0
fi
echo "$zone" > /etc/timezone
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/$zone /etc/localtime
|