1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dex_ynh.git synced 2024-09-03 18:26:22 +02:00

Getting rid of GOPATH error

This commit is contained in:
Limezy 2022-03-24 15:58:09 +07:00
parent 133ad49a54
commit 1a869cafb5

View file

@ -115,9 +115,10 @@ ynh_script_progression --message="Building the sources (it will take some time).
ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
pushd "$final_path" pushd "$final_path"
# Build the sources # Setup go exe and environnement
ynh_use_go ynh_use_go
unset GOPATH "$ynh_go" env
# Build server from source
make build make build
# Setup a nice Yunohost logo # Setup a nice Yunohost logo
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png