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:
commit
20d164fbe4
2 changed files with 6 additions and 0 deletions
|
@ -117,10 +117,13 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
# Setup go exe and environnement
|
# Setup go exe and environnement
|
||||||
ynh_use_go
|
ynh_use_go
|
||||||
|
export GOPATH="$final_path/go"
|
||||||
|
export GOCACHE="$final_path/go/.cache"
|
||||||
# Build server from source
|
# Build server from source
|
||||||
make build 2>&1
|
make build 2>&1
|
||||||
# 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
|
||||||
|
ynh_secure_remove --file="$final_path/go"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_remove_go
|
ynh_remove_go
|
||||||
|
|
|
@ -99,10 +99,13 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
# Setup go exe and environnement
|
# Setup go exe and environnement
|
||||||
ynh_use_go
|
ynh_use_go
|
||||||
|
export GOPATH="$final_path/go"
|
||||||
|
export GOCACHE="$final_path/go/.cache"
|
||||||
# Build server from source
|
# Build server from source
|
||||||
make build 2>&1
|
make build 2>&1
|
||||||
# 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
|
||||||
|
ynh_secure_remove --file="$final_path/go"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_remove_go
|
ynh_remove_go
|
||||||
|
|
Loading…
Add table
Reference in a new issue