X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/fcae5b467309b9a87f4ea0127757cc65cb1c0517..7acc6268f62e1ee42f8c58509b84bab9c4b3c647:/cookbooks/planet/templates/default/planet-update-file.erb diff --git a/cookbooks/planet/templates/default/planet-update-file.erb b/cookbooks/planet/templates/default/planet-update-file.erb index 36786e232..4b067e640 100644 --- a/cookbooks/planet/templates/default/planet-update-file.erb +++ b/cookbooks/planet/templates/default/planet-update-file.erb @@ -4,11 +4,13 @@ # setup +SUFFIX="osh.pbf" + PLANETDIR="/var/lib/planet" -PLANETPREV="${PLANETDIR}/planet-previous.pbf" -PLANETCURR="${PLANETDIR}/planet.pbf" -PLANETNEW="${PLANETDIR}/planet-new.pbf" -PLANETTMP="${PLANETDIR}/planet-tmp.pbf" +PLANETPREV="${PLANETDIR}/planet-previous.${SUFFIX}" +PLANETCURR="${PLANETDIR}/planet.${SUFFIX}" +PLANETNEW="${PLANETDIR}/planet-new.${SUFFIX}" +PLANETTMP="${PLANETDIR}/planet-tmp.${SUFFIX}" pyosmium-up-to-date -v -o "$PLANETNEW" "$PLANETCURR" retval=$?