From 9792646e7d90a91cfa144fec46428e47b1814e74 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 19 Jan 2021 20:56:25 +0100 Subject: [PATCH] Build during the upgrade... --- scripts/upgrade | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index f34cca7..315ae64 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -112,9 +112,15 @@ ynh_system_user_create --username=$app #================================================= # SPECIFIC UPGRADE #================================================= -# ... +# BUILDING SOURCES AND SETTING UP THE SERVER #================================================= +pushd "$final_path" || ynh_die + ynh_script_progression --message="Building the sources (it will take some time)..." --weight=6 + # Build the sources + ynh_exec_warn_less ./build.sh +popd || ynh_die + #================================================= # SETUP SYSTEMD #=================================================