Skip to content

Commit ba36664

Browse files
committed
updateData if tables > 70 and IF init exists
1 parent e2a5961 commit ba36664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/tiler-imposm/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ while "$flag" = true; do
164164
-c "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'public'" | sed -n 3p | sed 's/ //g')
165165
# After import there are more than 70 tables
166166
echo "$hasData tables in the DB"
167-
if ([ $hasData \> 70 ] && [[ ! -f /mnt/data/init_done ]]); then
167+
if ([ $hasData \> 70 ] && [[ -f /mnt/data/init_done ]]); then
168168
echo "Update the DB with osm data"
169169
updateData
170170
else

0 commit comments

Comments
 (0)