X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/30ead191463103fb4faceb52fc6fb4867bd41e18..aa5f27fb91a567b489032a2788debfee38380461:/utils/update.php diff --git a/utils/update.php b/utils/update.php index d91c8a76..7b9338d5 100644 --- a/utils/update.php +++ b/utils/update.php @@ -83,6 +83,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 @@ -349,7 +355,7 @@ if ($aResult['import-osmosis'] || $aResult['import-osmosis-all']) { // if (strpos(CONST_Replication_Url, 'download.geofabrik.de') !== false && CONST_Replication_Update_Interval < 86400) { fail('Error: Update interval too low for download.geofabrik.de. ' . - "Please check install documentation (http://nominatim.org/release-docs/latest/Import-and-Update#setting-up-the-update-process)\n"); + "Please check install documentation (https://nominatim.org/release-docs/latest/admin/Import-and-Update#setting-up-the-update-process)\n"); } $sImportFile = CONST_InstallPath.'/osmosischange.osc';