mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
better error message for missing osm2pgsql
This commit is contained in:
@@ -163,7 +163,8 @@ if ($aCMDResult['import-data'] || $aCMDResult['all']) {
|
|||||||
|
|
||||||
$osm2pgsql = CONST_Osm2pgsql_Binary;
|
$osm2pgsql = CONST_Osm2pgsql_Binary;
|
||||||
if (!file_exists($osm2pgsql)) {
|
if (!file_exists($osm2pgsql)) {
|
||||||
echo "Please download and build osm2pgsql.\nIf it is already installed, check the path in your local settings (settings/local.php) file.\n";
|
echo "Check CONST_Osm2pgsql_Binary in your local settings file.\n";
|
||||||
|
echo "Normally you should not need to set this manually.\n";
|
||||||
fail("osm2pgsql not found in '$osm2pgsql'");
|
fail("osm2pgsql not found in '$osm2pgsql'");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user