From c8a3a1bfd002b090388ae1551ae025e78d4ab897 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 18 Apr 2019 04:57:31 +0200 Subject: [PATCH] reorder --- scripts/install | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/scripts/install b/scripts/install index 2795f2f..ab21410 100755 --- a/scripts/install +++ b/scripts/install @@ -52,16 +52,6 @@ ynh_app_setting_set $app is_public $is_public ynh_app_setting_set $app domain $domain ynh_app_setting_set $app path $path_url - -#================================================= -# DOWNLOAD, CHECK AND UNPACK SOURCE -#================================================= -ynh_print_info "Setting up source files..." - -ynh_app_setting_set $app final_path $final_path -# Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source "$final_path" - #================================================= # INSTALL DEPENDENCIES #================================================= @@ -78,6 +68,15 @@ db_name=$(ynh_sanitize_dbid $app) ynh_app_setting_set $app db_name $db_name ynh_mysql_setup_db $db_name $db_name +#================================================= +# DOWNLOAD, CHECK AND UNPACK SOURCE +#================================================= +ynh_print_info "Setting up source files..." + +ynh_app_setting_set $app final_path $final_path +# Download, check integrity, uncompress and patch the source from app.src +ynh_setup_source "$final_path" + #================================================= # MODIFY A CONFIG FILE #=================================================