X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/214f92c428a5ff0754cb0cb0a788b0e331825a07..955dae5d4bcfc17bbddb60c1af3a392a2f6d90ca:/utils/update.php 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(); }