From: Sarah Hoffmann Date: Fri, 31 Jan 2020 17:17:42 +0000 (+0100) Subject: fix verboseness of nominiatim script during updates X-Git-Tag: v3.5.0~94 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/a8711ab0134adb14d39dd895482bf68c43c58d29 fix verboseness of nominiatim script during updates --- diff --git a/utils/update.php b/utils/update.php index 033c3019..c1dc2ab9 100644 --- a/utils/update.php +++ b/utils/update.php @@ -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