tzdata: remove posix if right/Canada/East-Saskatchewan exist
Chance are both of them exist
This commit is contained in:
parent
7aac13af05
commit
678af1f476
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'tzutils'
|
||||
pkgname=tzutils
|
||||
version=2022c
|
||||
revision=1
|
||||
revision=2
|
||||
bootstrap=yes
|
||||
wrksrc="tzdb-${version}"
|
||||
short_desc="Time zone and daylight-saving time utilities"
|
||||
|
|
|
@ -3,8 +3,8 @@ 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 [ ! -L usr/share/zoneinfo/right ] &&
|
||||
[ -f usr/share/zoneinfo/right/Canada/East-Saskatchewan ]; then
|
||||
if [ -f usr/share/zoneinfo/right/Canada/East-Saskatchewan ]; then
|
||||
rm -rf usr/share/zoneinfo/posix
|
||||
rm -rf usr/share/zoneinfo/right
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue