From 39580057fcd571be0f484fea1bd2afdf9feebeff Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 9 Oct 2016 21:04:53 +0200 Subject: [PATCH] better error message for missing osm2pgsql --- utils/setup.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'"); } -- 2.45.1