1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nomad_ynh.git synced 2024-09-03 19:55:53 +02:00

Few fixes

This commit is contained in:
yalh76 2022-07-23 05:05:47 +02:00
parent 4ca49c1226
commit 16958f774f
3 changed files with 4 additions and 3 deletions

View file

@ -95,7 +95,7 @@ ynh_script_progression --message="Installing dependencies..."
if [ "$node_type" == "client" ]
then
ynh_install_app_dependencies $client_pkg_dependencies
ynh_install_go --go_version=$go_version
ynh_exec_warn_less ynh_install_go --go_version=$go_version
fi
ynh_install_extra_app_dependencies --repo="deb https://apt.releases.hashicorp.com $(lsb_release -cs) main" --package="$pkg_dependencies" --key="https://apt.releases.hashicorp.com/gpg"

View file

@ -7,6 +7,7 @@
#=================================================
source _common.sh
source ynh_install_go
source /usr/share/yunohost/helpers
#=================================================

View file

@ -86,7 +86,7 @@ ynh_script_progression --message="Upgrading dependencies..."
if [ "$node_type" == "client" ]
then
ynh_install_app_dependencies $client_pkg_dependencies
ynh_install_go --go_version=$go_version
ynh_exec_warn_less ynh_install_go --go_version=$go_version
fi
ynh_install_extra_app_dependencies --repo="deb https://apt.releases.hashicorp.com $(lsb_release -cs) main" --package="$pkg_dependencies" --key="https://apt.releases.hashicorp.com/gpg"
@ -116,7 +116,7 @@ then
ynh_use_go
export GOPATH="$tempdir/go"
export GOCACHE="$tempdir/.cache"
ynh_exec_warn_less$ynh_go build
ynh_exec_warn_less $ynh_go build
popd
mv -f $tempdir/nomad-driver-lxc $datadir/plugins/nomad-driver-lxc