mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
Silence warnings from ynh_install_app_dependencies
This commit is contained in:
parent
e3ce7bc238
commit
e408898b74
3 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ ynh_app_setting_set --app=$app --key=tls_port --value=$tls_port
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing dependencies..." --weight=1
|
ynh_script_progression --message="Installing dependencies..." --weight=1
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
# Install Go if needed
|
# Install Go if needed
|
||||||
if ! command -v /usr/local/go/bin/go &> /dev/null
|
if ! command -v /usr/local/go/bin/go &> /dev/null
|
||||||
|
|
|
@ -84,7 +84,7 @@ chown -R $app:root /var/log/$app
|
||||||
ynh_script_progression --message="Reinstalling dependencies..." --weight=1
|
ynh_script_progression --message="Reinstalling dependencies..." --weight=1
|
||||||
|
|
||||||
# Define and install dependencies
|
# Define and install dependencies
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
# Install Go if needed
|
# Install Go if needed
|
||||||
if ! command -v /usr/local/go/bin/go &> /dev/null
|
if ! command -v /usr/local/go/bin/go &> /dev/null
|
||||||
|
|
|
@ -87,7 +87,7 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading dependencies..." --weight=1
|
ynh_script_progression --message="Upgrading dependencies..." --weight=1
|
||||||
|
|
||||||
ynh_install_app_dependencies "$pkg_dependencies"
|
ynh_exec_warn_less ynh_install_app_dependencies "$pkg_dependencies"
|
||||||
|
|
||||||
# TODO: check Go version and upgrade if needed
|
# TODO: check Go version and upgrade if needed
|
||||||
if ! command -v /usr/local/go/bin/go &> /dev/null
|
if ! command -v /usr/local/go/bin/go &> /dev/null
|
||||||
|
|
Loading…
Add table
Reference in a new issue