mirror of
https://github.com/YunoHost-Apps/dex_ynh.git
synced 2024-09-03 18:26:22 +02:00
Redirect to stdout
This commit is contained in:
parent
d445b714e8
commit
b6e043b5e1
2 changed files with 7 additions and 12 deletions
|
@ -119,7 +119,7 @@ pushd "$final_path"
|
|||
ynh_use_go
|
||||
"$ynh_go" env
|
||||
# Build server from source
|
||||
make build
|
||||
make build 2>&1
|
||||
# Setup a nice Yunohost logo
|
||||
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
|
||||
popd
|
||||
|
|
|
@ -85,14 +85,6 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
|
|||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --time --weight=1
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
#=================================================
|
||||
|
@ -104,10 +96,13 @@ ynh_script_progression --message="Building the sources (it will take some time).
|
|||
ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
|
||||
|
||||
pushd "$final_path"
|
||||
# Build the sources
|
||||
# Setup go exe and environnement
|
||||
ynh_use_go
|
||||
unset GOPATH
|
||||
make build
|
||||
"$ynh_go" env
|
||||
# Build server from source
|
||||
make build 2>&1
|
||||
# Setup a nice Yunohost logo
|
||||
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
|
||||
popd
|
||||
|
||||
ynh_remove_go
|
||||
|
|
Loading…
Reference in a new issue