From c73b4cebc671d1cd1e6b94f8fb03afe9a479c0f6 Mon Sep 17 00:00:00 2001 From: anmol Date: Fri, 12 Apr 2019 23:51:58 +0530 Subject: [PATCH] Fix install for skip_urls after curl --- scripts/install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/install b/scripts/install index e2e3068..398dab1 100644 --- a/scripts/install +++ b/scripts/install @@ -180,6 +180,13 @@ systemctl reload nginx ynh_print_info "Finalizing installation..." ynh_local_curl "/scripts/setup.php" "command=setup" + +# Remove the public access +if [ $is_public -eq 0 ] +then + ynh_app_setting_delete $app skipped_uris +fi + #Add the admin account to the database ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < "../conf/admin.sql" #Disable setup for security