change br/gz timestamps to match source files
This was lost as part of preserving existing file timestamps instead of using the timestamps from generated files.
This commit is contained in:
parent
9b4be7d481
commit
93cf3596cc
@ -2,6 +2,8 @@
|
||||
|
||||
set -o errexit -o nounset -o pipefail
|
||||
|
||||
shopt -s extglob
|
||||
|
||||
touch lock
|
||||
exec {fd}< lock
|
||||
if ! flock -n $fd; then
|
||||
@ -19,6 +21,9 @@ rsync -pcv --chmod=F644 --fsync --preallocate replicate.conf root@${servers[0]}:
|
||||
# use last modified timestamps from 0.grapheneos.org
|
||||
rsync -rptcv --chmod=D755,F644 --delete --fsync --preallocate root@${servers[0]}:/srv/grapheneos.org/ static-deploy
|
||||
rsync -rpcv --chmod=D755,F644 --delete --fsync --preallocate static-tmp/ static-deploy
|
||||
for f in static-deploy/**.*(br|gz); do
|
||||
touch -r "${f%.*}" "$f"
|
||||
done
|
||||
|
||||
for server in ${servers[@]}; do
|
||||
echo $server
|
||||
|
Loading…
x
Reference in New Issue
Block a user