From a8711ab0134adb14d39dd895482bf68c43c58d29 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 31 Jan 2020 18:17:42 +0100 Subject: [PATCH] fix verboseness of nominiatim script during updates --- utils/update.php | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.45.2