From 1421c963b2cf36fa3790c633539d9b9bcf340172 Mon Sep 17 00:00:00 2001 From: galewis2 <62433564+galewis2@users.noreply.github.com> Date: Tue, 14 Dec 2021 16:24:45 -0500 Subject: [PATCH] Update run.sh --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 454239d..279e660 100755 --- a/run.sh +++ b/run.sh @@ -62,7 +62,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 /data.osm.pbf | grep 'osmosis_replication_timestamp=' | cut -b35-44 > /var/lib/mod_tile/replication_timestamp.txt + osmium fileinfo --get=header.option.timestamp /data.osm.pbf > /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)