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

Merge pull request #6 from YunoHost-Apps/bullseye

Fix Bullseye + web UI installation
This commit is contained in:
Limezy 2022-04-04 17:07:31 +07:00 committed by GitHub
commit 20d164fbe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -117,10 +117,13 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
pushd "$final_path"
# Setup go exe and environnement
ynh_use_go
export GOPATH="$final_path/go"
export GOCACHE="$final_path/go/.cache"
# Build server from source
make build 2>&1
# Setup a nice Yunohost logo
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
ynh_secure_remove --file="$final_path/go"
popd
ynh_remove_go

View file

@ -99,10 +99,13 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
pushd "$final_path"
# Setup go exe and environnement
ynh_use_go
export GOPATH="$final_path/go"
export GOCACHE="$final_path/go/.cache"
# Build server from source
make build 2>&1
# Setup a nice Yunohost logo
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
ynh_secure_remove --file="$final_path/go"
popd
ynh_remove_go