1 # DO NOT EDIT - This file is being maintained by Chef
3 nominatim refresh --postcodes --word-tokens --threads 4 -v
5 <% if node[:nominatim][:enable_qa_tiles] -%>
7 if python3 cli.py --execute-all; then
8 rm -rf "<%= @qadatadir %>/old"
9 if [ -d "<%= @qadatadir %>/current" ]; then
10 mv "<%= @qadatadir %>/current" "<%= @qadatadir %>/old"
12 mv "<%= @qadatadir %>/new" "<%= @qadatadir %>/current"