fix verboseness of nominiatim script during updates

This commit is contained in:
Sarah Hoffmann 2020-01-31 18:17:42 +01:00
parent 3e4754febd
commit a8711ab013

View File

@ -82,6 +82,12 @@ if (!is_null(CONST_Osm2pgsql_Flatnode_File) && CONST_Osm2pgsql_Flatnode_File) {
}
$sIndexCmd = CONST_BasePath.'/nominatim/nominatim.py';
if (!$aResult['quiet']) {
$sIndexCmd .= ' -v';
}
if ($aResult['verbose']) {
$sIndexCmd .= ' -v';
}
if ($aResult['init-updates']) {
// sanity check that the replication URL is correct