]> git.openstreetmap.org Git - nominatim.git/commitdiff
better error message for missing osm2pgsql
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 9 Oct 2016 19:04:53 +0000 (21:04 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 9 Oct 2016 19:04:53 +0000 (21:04 +0200)
utils/setup.php

index da16e3f091864283a3d089583153263e7e6d607e..9efbcf35553155b2725fc5f0f8bdd9480c341975 100755 (executable)
@@ -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'");
     }