mirror of
https://github.com/YunoHost-Apps/ifconfig-io_ynh.git
synced 2024-09-03 20:36:27 +02:00
Fix: install and upgrade script
This commit is contained in:
parent
708eaeab27
commit
e890b05663
2 changed files with 4 additions and 0 deletions
|
@ -100,6 +100,8 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Installing..." --weight=5
|
||||
|
||||
export GO111MODULE=on
|
||||
|
||||
pushd "$app_path"
|
||||
ynh_exec_warn_less go mod download
|
||||
ynh_exec_warn_less go build
|
||||
|
|
|
@ -106,6 +106,8 @@ ynh_install_app_dependencies $pkg_dependencies
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading..." --weight=5
|
||||
|
||||
export GO111MODULE=on
|
||||
|
||||
pushd "$app_path"
|
||||
ynh_exec_warn_less go mod download
|
||||
ynh_exec_warn_less go build
|
||||
|
|
Loading…
Add table
Reference in a new issue