diff --git a/bin/setup b/bin/setup index fbeacf7e1c4..842543deb85 100755 --- a/bin/setup +++ b/bin/setup @@ -36,7 +36,7 @@ Dir.chdir APP_ROOT do run "test -L certs/saml2018.crt || cp certs/saml2018.crt.example certs/saml2018.crt" puts "== Copying GeoLite2 City database ==" - run "test -L geo_data/GeoLite2-City.mmdb || mkdir geo_data && cd geo_data && " \ + run "test -L geo_data/GeoLite2-City.mmdb || mkdir -p geo_data && cd geo_data && " \ "curl http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz | tar xvz" run "mv geo_data/GeoLite2-City_20181120/GeoLite2-City.mmdb geo_data/GeoLite2-City.mmdb"