diff --git a/scripts/install b/scripts/install old mode 100755 new mode 100644 index 74ccc72..13443ce --- a/scripts/install +++ b/scripts/install @@ -108,7 +108,7 @@ then if [ $driver_lxc -eq 1 ] then $client_pkg_dependencies="$client_pkg_dependencies $client_lxc_pkg_dependencies" - ynh_install_go --go_version=$go_version + ynh_exec_warn_less ynh_install_go --go_version=$go_version fi ynh_install_app_dependencies $client_pkg_dependencies fi diff --git a/scripts/remove b/scripts/remove index b764c2d..bc83adb 100755 --- a/scripts/remove +++ b/scripts/remove @@ -7,6 +7,7 @@ #================================================= source _common.sh +source ynh_install_go source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 6093f6c..1c91bba 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -96,7 +96,7 @@ then if [ $driver_lxc -eq 1 ] then $client_pkg_dependencies="$client_pkg_dependencies $client_lxc_pkg_dependencies" - ynh_install_go --go_version=$go_version + ynh_exec_warn_less ynh_install_go --go_version=$go_version fi ynh_install_app_dependencies $client_pkg_dependencies fi @@ -130,7 +130,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