From 19a16f18ee9b9032ba8e09545660391180d63bd9 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 13 Aug 2018 16:47:43 +0200 Subject: [PATCH] Save bazaar_extension parameter --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index f52849d..ee2be03 100644 --- a/scripts/install +++ b/scripts/install @@ -72,6 +72,7 @@ ynh_app_setting_set $app is_public $is_public ynh_app_setting_set $app language $language ynh_app_setting_set $app final_path $final_path ynh_app_setting_set $app flarum_version $flarum_version +ynh_app_setting_set $app bazaar_extension $bazaar_extension #=================================================== # CREATE DEDICATED USER @@ -224,7 +225,7 @@ if [[ -n $admin && -n $title ]]; then ynh_mysql_execute_as_root "$sql_command" $db_name ;; esac - + if [[ $bazaar_extension ]]; then install_and_activate_extension $app $final_path $db_name "flagrow/bazaar" "flagrow-bazaar" fi