1
0
Fork 0
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:
Fabian Wilkens 2022-05-27 17:03:57 +02:00
parent 708eaeab27
commit e890b05663
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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