void-packages/srcpkgs/tzutils/tzdata.INSTALL

12 lines
354 B
Plaintext
Executable File

case "${ACTION}" in
pre)
# Due to some reasons, some old timezone was kept
# The latest one would be Canada/East-Saskatchewan in 2017c
# Don't force remove on everyone since it will spit error on update
if [ -f usr/share/zoneinfo/right/Canada/East-Saskatchewan ]; then
rm -rf usr/share/zoneinfo/posix
rm -rf usr/share/zoneinfo/right
fi
;;
esac