Skip to content

Commit

Permalink
minor: remove some commented-out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
arichnad committed Sep 4, 2020
1 parent b1f4348 commit 5cf764f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#renice +20 -p $$ >/dev/null
#ionice -c3 -p $$

minimumSize=9500000000
locationName=north-america
pbfFile=$locationName.osm.pbf
newFile=$locationName-new.osm.pbf
Expand All @@ -28,12 +27,6 @@ docker-compose run --rm openmaptiles-tools osmupdate --verbose /import/$pbfFile
mv --force data/$pbfFile{,.old}
mv --force data/$newFile data/$pbfFile

#if [ $(stat --format=%s data/$pbfFile) -lt $minimumSize ]; then
# #sometimes the file is too small because something failed. let's stop here because this needs fixing.
# echo $pbfFile file size too small. expected minimum size of $minimumSize bytes.
# false
#fi

echo updating: done at $(date)
echo "====================================================================="

Expand Down

0 comments on commit 5cf764f

Please sign in to comment.