From 37195bb9fc929a47ab03864a08a493126662c943 Mon Sep 17 00:00:00 2001 From: ljf Date: Tue, 18 Jun 2019 10:09:39 +0200 Subject: [PATCH] [fix] path_url instead of path --- conf/{framaforms.src => app.src} | 0 scripts/install | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename conf/{framaforms.src => app.src} (100%) diff --git a/conf/framaforms.src b/conf/app.src similarity index 100% rename from conf/framaforms.src rename to conf/app.src diff --git a/scripts/install b/scripts/install index e545cc9..bbc9091 100644 --- a/scripts/install +++ b/scripts/install @@ -20,7 +20,7 @@ ynh_abort_if_errors # RETRIEVE ARGUMENTS FROM THE MANIFEST #================================================= -ynh_export domain path admin is_public +ynh_export domain path_url admin is_public # This is a multi-instance app, meaning it can be installed several times independently # The id of the app as stated in the manifest is available as $YNH_APP_ID @@ -60,7 +60,7 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url #================================================= ynh_script_progression --message="Storing installation settings..." --time --weight=1 -ynh_save_args domain path admin is_public final_path +ynh_save_args domain path_url admin is_public final_path #================================================= # STANDARD MODIFICATIONS @@ -87,7 +87,7 @@ ynh_script_progression --message="Creating a PostgreSQL database..." --time --we ynh_psql_test_if_first_run -db_name=$(ynh_sanitize_dbid --dbname="$app") +db_name=$(ynh_sanitize_dbid --db_name="$app") db_user=$db_name ynh_app_setting_set --app=$app --key=db_name --value=$db_name ynh_psql_setup_db --db_user=$db_user --db_name=$db_name