diff --git a/scripts/_common.sh b/scripts/_common.sh index f000a78..4b358cd 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -108,8 +108,8 @@ myynh_install_dependencies () { # Install cd "Python-$python" ./configure --enable-optimizations - make -j4 - make altinstall + ynh_exec_warn_less make -j4 + ynh_exec_warn_less make altinstall # Clean cd .. ynh_secure_remove "Python-$python" diff --git a/scripts/install b/scripts/install index e429ab7..570ec5f 100644 --- a/scripts/install +++ b/scripts/install @@ -49,7 +49,7 @@ myynh_create_dir "$data_path" chown -R $app: "$home_path" # build (if needed) & install Pyhton -ynh_exec_warn_less myynh_install_dependencies --python="$PY_REQUIRED_VERSION" +myynh_install_dependencies --python="$PY_REQUIRED_VERSION" # installation in a virtual environment ynh_script_progression --message="Installing Home Assistant in a virtual environment..." diff --git a/scripts/restore b/scripts/restore index dfebf69..b59f50f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -51,7 +51,7 @@ chmod -R +x "$home_path/.homeassistant/bin" ynh_script_progression --message="Restoring the packages dependencies..." # add required packages -ynh_exec_warn_less myynh_install_dependencies --python="$python" +myynh_install_dependencies --python="$python" ynh_script_progression --message="Restoring the dedicated service..." ynh_restore_file --origin_path="/etc/systemd/system/$app@$app.service" diff --git a/scripts/upgrade b/scripts/upgrade index bd9af38..fa0c323 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -42,7 +42,7 @@ myynh_create_dir "/etc/sudoers.d" cp "../conf/sudoers" "/etc/sudoers.d/$app" # build (if needed) & install Pyhton -ynh_exec_warn_less myynh_install_dependencies --python="$PY_REQUIRED_VERSION" +myynh_install_dependencies --python="$PY_REQUIRED_VERSION" # stop systemd service ynh_script_progression --message="Stoping service..."