1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-02-27 12:43:18 +01:00
parent 849e2010d1
commit b9d0f39cca

View file

@ -101,10 +101,10 @@ then
ynh_exec_warn_less ynh_install_go --go_version=$go_version ynh_exec_warn_less ynh_install_go --go_version=$go_version
ynh_use_go ynh_use_go
pushd $install_dir/build/ pushd $install_dir/build/
ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -ldflags='-s -w' -o $install_dir/live/ ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -ldflags='-s -w' -o $install_dir/live/
popd popd
pushd $install_dir/build_ldap/ pushd $install_dir/build_ldap/
ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -ldflags='-s -w' -o $install_dir/live_ldap/ ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -ldflags='-s -w' -o $install_dir/live_ldap/
popd popd
ynh_remove_go ynh_remove_go
ynh_secure_remove --file="$install_dir/build/" ynh_secure_remove --file="$install_dir/build/"