From: Sarah Hoffmann Date: Sun, 9 Oct 2016 19:04:53 +0000 (+0200) Subject: better error message for missing osm2pgsql X-Git-Tag: v3.0.0~113 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/39580057fcd571be0f484fea1bd2afdf9feebeff better error message for missing osm2pgsql --- diff --git a/utils/setup.php b/utils/setup.php index da16e3f0..9efbcf35 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -163,7 +163,8 @@ if ($aCMDResult['import-data'] || $aCMDResult['all']) { $osm2pgsql = CONST_Osm2pgsql_Binary; 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'"); }