1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ifconfig-io_ynh.git synced 2024-09-03 20:36:27 +02:00

Merge pull request #6 from YunoHost-Apps/fix_install

Fix install
This commit is contained in:
Fabian Wilkens 2022-05-27 19:48:30 +02:00 committed by GitHub
commit f258f4796d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 6 deletions

View file

@ -7,7 +7,6 @@
; Manifest ; Manifest
domain="domain.tld" domain="domain.tld"
path="/path" path="/path"
is_public=1
; Checks ; Checks
pkg_linter=1 pkg_linter=1
setup_sub_dir=1 setup_sub_dir=1
@ -16,8 +15,8 @@
setup_private=0 setup_private=0
setup_public=1 setup_public=1
upgrade=1 upgrade=1
# 2021.02.16~ynh1 # 2021.02.16~ynh2
upgrade=0 from_commit=68a38f6e9b2e357db46d2827a9781f58ea2422cc upgrade=1 from_commit=708eaeab27f4ce47036a712c7452d916c5b741a8
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=0 port_already_use=0
@ -26,6 +25,6 @@
Email= Email=
Notification=none Notification=none
;;; Upgrade options ;;; Upgrade options
; commit=68a38f6e9b2e357db46d2827a9781f58ea2422cc ; commit=708eaeab27f4ce47036a712c7452d916c5b741a8
name=2021.02.16~ynh1 name=2021.02.16~ynh2
manifest_arg=domain=DOMAIN&path=PATH&&is_public=1 manifest_arg=domain=DOMAIN&path=PATH

View file

@ -100,6 +100,8 @@ ynh_add_nginx_config
#================================================= #=================================================
ynh_script_progression --message="Installing..." --weight=5 ynh_script_progression --message="Installing..." --weight=5
export GO111MODULE=on
pushd "$app_path" pushd "$app_path"
ynh_exec_warn_less go mod download ynh_exec_warn_less go mod download
ynh_exec_warn_less go build 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 ynh_script_progression --message="Upgrading..." --weight=5
export GO111MODULE=on
pushd "$app_path" pushd "$app_path"
ynh_exec_warn_less go mod download ynh_exec_warn_less go mod download
ynh_exec_warn_less go build ynh_exec_warn_less go build