X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/214f92c428a5ff0754cb0cb0a788b0e331825a07..665b90bf5a0189d992e8a17639dec4926848f160:/utils/update.php?ds=inline diff --git a/utils/update.php b/utils/update.php index 189a1825..cba58d31 100644 --- a/utils/update.php +++ b/utils/update.php @@ -103,7 +103,9 @@ $oIndexCmd = (new \Nominatim\Shell(CONST_BasePath.'/nominatim/nominatim.py')) ->addParams('--database', $aDSNInfo['database']) ->addParams('--port', $aDSNInfo['port']) ->addParams('--threads', $aResult['index-instances']); - +if (!$aResult['quiet']) { + $oIndexCmd->addParams('--verbose'); +} if ($aResult['verbose']) { $oIndexCmd->addParams('--verbose'); } @@ -151,7 +153,6 @@ if ($aResult['init-updates']) { 'enable-diff-updates' => true, 'verbose' => $aResult['verbose'] )); - $cSetup->connect(); $cSetup->createFunctions(); }