From b77c777cb097d570bafb35685b6fca83e1094555 Mon Sep 17 00:00:00 2001 From: Greg Date: Thu, 17 Feb 2022 20:45:02 +0000 Subject: [PATCH] Revert "Update run.sh" This reverts commit 1421c963b2cf36fa3790c633539d9b9bcf340172. --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 0a03102..ed181b3 100755 --- a/run.sh +++ b/run.sh @@ -81,7 +81,7 @@ if [ "$1" = "import" ]; then if [ "${UPDATES:-}" = "enabled" ]; then # determine and set osmosis_replication_timestamp (for consecutive updates) osmium fileinfo /data.osm.pbf > /var/lib/mod_tile/data.osm.pbf.info - osmium fileinfo --get=header.option.timestamp /data.osm.pbf > /var/lib/mod_tile/replication_timestamp.txt + osmium fileinfo /data.osm.pbf | grep 'osmosis_replication_timestamp=' | cut -b35-44 > /var/lib/mod_tile/replication_timestamp.txt REPLICATION_TIMESTAMP=$(cat /var/lib/mod_tile/replication_timestamp.txt) # initial setup of osmosis workspace (for consecutive updates)