mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
tzdata: remove posix if right/Canada/East-Saskatchewan exist
Chance are both of them exist
This commit is contained in:
parent
7aac13af05
commit
678af1f476
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'tzutils'
|
# Template file for 'tzutils'
|
||||||
pkgname=tzutils
|
pkgname=tzutils
|
||||||
version=2022c
|
version=2022c
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
wrksrc="tzdb-${version}"
|
wrksrc="tzdb-${version}"
|
||||||
short_desc="Time zone and daylight-saving time utilities"
|
short_desc="Time zone and daylight-saving time utilities"
|
||||||
|
|
|
@ -3,8 +3,8 @@ pre)
|
||||||
# Due to some reasons, some old timezone was kept
|
# Due to some reasons, some old timezone was kept
|
||||||
# The latest one would be Canada/East-Saskatchewan in 2017c
|
# The latest one would be Canada/East-Saskatchewan in 2017c
|
||||||
# Don't force remove on everyone since it will spit error on update
|
# Don't force remove on everyone since it will spit error on update
|
||||||
if [ ! -L usr/share/zoneinfo/right ] &&
|
if [ -f usr/share/zoneinfo/right/Canada/East-Saskatchewan ]; then
|
||||||
[ -f usr/share/zoneinfo/right/Canada/East-Saskatchewan ]; then
|
rm -rf usr/share/zoneinfo/posix
|
||||||
rm -rf usr/share/zoneinfo/right
|
rm -rf usr/share/zoneinfo/right
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue