File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ SMTP_FROM=OpenMapX <noreply@openmapx.org>
6666# Available regions: https://download.geofabrik.de/
6767# PHOTON_REGION=germany
6868
69- # Nominatim: download global Wikipedia rankings (~30 GB, improves search result quality)
69+ # Nominatim: download global Wikipedia rankings (improves search result quality)
7070# NOMINATIM_IMPORT_WIKIPEDIA=false
7171
7272# Nominatim: import US/GB postcode data (default: false, enable for US/UK deployments)
Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ github_url() {
2727 # Convert a GitHub HTTPS URL to SSH if the server has SSH access
2828 local url=" $1 "
2929 if [ -z " $_GITHUB_SSH " ]; then
30- if ssh -o StrictHostKeyChecking=accept-new -o ConnectTimeout=5 -T git@github.com 2>&1 | grep -qi " successfully authenticated" ; then
30+ # ssh -T exits with 1 on success for GitHub (it closes the session)
31+ # but exits with 255 on connection/auth failure
32+ ssh -o StrictHostKeyChecking=accept-new -o ConnectTimeout=5 -o BatchMode=yes -T git@github.com & > /dev/null
33+ if [ $? -eq 1 ]; then
3134 _GITHUB_SSH=yes
3235 else
3336 _GITHUB_SSH=no
@@ -40,7 +43,7 @@ github_url() {
4043 fi
4144}
4245
43- TRANSITOUS_REPO=" https://github.com/transitous /transitous.git"
46+ TRANSITOUS_REPO=" https://github.com/public-transport /transitous.git"
4447MAX_CONCURRENT_DOWNLOADS=" ${MAX_CONCURRENT_DOWNLOADS:- 5} "
4548COMPOSE_FILE=" ${SCRIPT_DIR} /docker-compose.yml"
4649
You can’t perform that action at this time.
0 commit comments