1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Only silent for python building

This commit is contained in:
ewilly 2021-01-18 21:12:47 +01:00
parent 13a6ae740a
commit 201f314586
4 changed files with 5 additions and 5 deletions

View file

@ -108,8 +108,8 @@ myynh_install_dependencies () {
# Install # Install
cd "Python-$python" cd "Python-$python"
./configure --enable-optimizations ./configure --enable-optimizations
make -j4 ynh_exec_warn_less make -j4
make altinstall ynh_exec_warn_less make altinstall
# Clean # Clean
cd .. cd ..
ynh_secure_remove "Python-$python" ynh_secure_remove "Python-$python"

View file

@ -49,7 +49,7 @@ myynh_create_dir "$data_path"
chown -R $app: "$home_path" chown -R $app: "$home_path"
# build (if needed) & install Pyhton # 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 # installation in a virtual environment
ynh_script_progression --message="Installing Home Assistant in a virtual environment..." ynh_script_progression --message="Installing Home Assistant in a virtual environment..."

View file

@ -51,7 +51,7 @@ chmod -R +x "$home_path/.homeassistant/bin"
ynh_script_progression --message="Restoring the packages dependencies..." ynh_script_progression --message="Restoring the packages dependencies..."
# add required packages # 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_script_progression --message="Restoring the dedicated service..."
ynh_restore_file --origin_path="/etc/systemd/system/$app@$app.service" ynh_restore_file --origin_path="/etc/systemd/system/$app@$app.service"

View file

@ -42,7 +42,7 @@ myynh_create_dir "/etc/sudoers.d"
cp "../conf/sudoers" "/etc/sudoers.d/$app" cp "../conf/sudoers" "/etc/sudoers.d/$app"
# build (if needed) & install Pyhton # 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 # stop systemd service
ynh_script_progression --message="Stoping service..." ynh_script_progression --message="Stoping service..."