From c7996034a9bd08ee3c082ad0c17a54f59be8d0c6 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 11 Apr 2019 03:32:55 +0200 Subject: [PATCH] fix install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 402f133..6a1faa2 100644 --- a/scripts/install +++ b/scripts/install @@ -16,7 +16,6 @@ source /usr/share/yunohost/helpers #================================================= ynh_clean_setup () { - read -p "key" ynh_clean_check_starting } # Exit if an error occurs during the execution of the script @@ -198,6 +197,8 @@ pushd $final_path/$app # ynh_replace_string "administrator@example.com" "$admin_email" "$final_path/$app/config/prod.secret.exs" popd +curl http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz --output GeoLite2-City.tar.gz -s && tar zxf GeoLite2-City.tar.gz && mkdir -p /usr/share/GeoIP && mv GeoLite2-City_*/GeoLite2-City.mmdb $final_path/$app/priv/data/GeoIP-City.mmdb + #================================================= # SETUP SYSTEMD #=================================================