mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 02:45:16 +01:00
19 lines
273 B
Bash
19 lines
273 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
# Extract just the America/New_York timezone from
|
||
|
tzinfo=$(go env GOROOT)/lib/time/zoneinfo.zip
|
||
|
|
||
|
rm -rf tzdata
|
||
|
mkdir tzdata
|
||
|
cd tzdata
|
||
|
unzip ${tzinfo} America/New_York
|
||
|
|
||
|
cd ..
|
||
|
# Make the embedded assets
|
||
|
go run generate_tzdata.go
|
||
|
|
||
|
# tidy up
|
||
|
rm -rf tzdata
|